customize luasnip
This commit is contained in:
parent
63a865c375
commit
53e0992676
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue