refactor!: restructure and document configuration

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-03-06 05:30:47 -03:00
parent 4a02e072a7
commit f87f9995be
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
126 changed files with 957 additions and 590 deletions

View file

@ -0,0 +1,15 @@
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,
}