customize luasnip

This commit is contained in:
Michael Floßmann 2025-09-15 10:44:59 +02:00
parent 63a865c375
commit 53e0992676

View file

@ -72,6 +72,14 @@ return {
if ls.choice_active() then ls.change_choice(1) end if ls.choice_active() then ls.change_choice(1) end
end, end,
}, },
{
"<C-E>",
function()
local ls = require "luasnip"
if ls.expand_or_jumpable() then ls.expand_or_jump() end
end,
mode = { "i" },
},
}, },
config = function(plugin, opts) config = function(plugin, opts)
require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call require "astronvim.plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call