A collection of snippets for LuaSnips.
Example (with lazy.nvim):
{
"L3MON4D3/LuaSnip",
dependencies = {
"mathjiajia/mysnippets",
config = true,
},
config = function()
require("luasnip").setup({
update_events = "TextChanged,TextChangedI",
enable_autosnippets = true,
})
-- other configuration
end,
}
Inspired by