linuxware/modules/home-manager/programs/neovim/lua/plugins/luasnip.lua

16 lines
459 B
Lua

return {
"L3MON4D3/LuaSnip",
config = function(plugin, opts)
-- include the default astronvim config that calls the setup call
require "astronvim.plugins.configs.luasnip" (plugin, opts)
-- load snippets paths
require("luasnip.loaders.from_lua").lazy_load {
paths = { vim.fn.stdpath "config" .. "/snippets" },
}
-- extend 'razor' files with html snippets
require("luasnip").filetype_extend("razor", { "html" })
end,
}