mirror of
https://github.com/Tilo-K/neovim-config.git
synced 2026-10-18 14:57:10 +00:00
change luasnip tab jumping to locally jumpable
This commit is contained in:
1 parent
0470d07c8c
commit
1c02cec98b
1 file changed
+1
-1
@@ -469,7 +469,7 @@ cmp.setup {
|
|||||||
['<Tab>'] = cmp.mapping(function(fallback)
|
['<Tab>'] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_next_item()
|
cmp.select_next_item()
|
||||||
elseif luasnip.expand_or_jumpable() then
|
elseif luasnip.expand_or_locally_jumpable() then
|
||||||
luasnip.expand_or_jump()
|
luasnip.expand_or_jump()
|
||||||
else
|
else
|
||||||
fallback()
|
fallback()
|
||||||
|
|||||||
Reference in new issue
Block a user