dotfiles/dot_config/nvim/lua/plugins/luasnip.lua

15 lines
312 B
Lua
Raw Normal View History

2024-04-14 18:41:15 -07:00
return {
{
"L3MON4D3/LuaSnip",
keys = { { "<Tab>" } },
opts = {
store_selection_keys = "<Tab>",
},
config = function(_, opts)
require("luasnip").setup(opts)
require("luasnip.loaders.from_lua").lazy_load({ lazy_paths = { "~/.config/nvim/lua/snippets" } })
end,
},
}