return { { "L3MON4D3/LuaSnip", version = "v2.*", build = "make install_jsregexp", opts = { history = true, delete_check_events = "TextChanged", }, config = function(_, opts) local ls = require("luasnip") ls.setup({ history = true, delete_check_events = "TextChanged", }) require("luasnip.loaders.from_lua").load({ paths = { "~/snippets" } }) end, dependencies = { "hrsh7th/nvim-cmp", }, -- stylua: ignore }, }