Files
dotfiles/.config/nvim/lua/user/plugins/snipptes.lua

19 lines
410 B
Lua

return {
{
"L3MON4D3/LuaSnip",
lazy = false,
opts = {
region_check_events = "CursorHold,InsertLeave,InsertEnter",
-- those are for removing deleted snippets, also a common problem
delete_check_events = "TextChanged,InsertEnter",
},
config = function(_, opts)
local luasnip = require("luasnip")
luasnip.setup(opts)
end,
dependencies = {
"rafamadriz/friendly-snippets",
}
}
}