feat: Adapt configuration for AstroNvim v6

This commit is contained in:
Xavier Logerais
2026-07-07 16:10:12 +00:00
parent 6787aef5cd
commit 5d32fc8518
9 changed files with 87 additions and 77 deletions
+3 -1
View File
@@ -49,10 +49,12 @@ return {
{
"L3MON4D3/LuaSnip",
config = function(plugin, opts)
require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
-- add more custom luasnip configuration such as filetype extend or custom snippets
local luasnip = require "luasnip"
luasnip.filetype_extend("javascript", { "javascriptreact" })
-- include the default astronvim config that calls the setup call
require "astronvim.plugins.configs.luasnip"(plugin, opts)
end,
},