mirror of
https://github.com/Tilo-K/neovim-config.git
synced 2026-10-18 14:57:10 +00:00
add local jumping to shift tab
This commit is contained in:
1 parent
1c02cec98b
commit
2844f61d96
1 file changed
+1
-1
@@ -478,7 +478,7 @@ cmp.setup {
|
|||||||
['<S-Tab>'] = cmp.mapping(function(fallback)
|
['<S-Tab>'] = cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_prev_item()
|
cmp.select_prev_item()
|
||||||
elseif luasnip.jumpable(-1) then
|
elseif luasnip.locally_jumpable(-1) then
|
||||||
luasnip.jump(-1)
|
luasnip.jump(-1)
|
||||||
else
|
else
|
||||||
fallback()
|
fallback()
|
||||||
|
|||||||
Reference in new issue
Block a user