Correction of <S-TAB> behavior
This commit is contained in:
parent
5e260f2c20
commit
aa22e410ec
|
@ -98,8 +98,8 @@ return { -- Autocompletion
|
|||
end, { 'i', 's' }),
|
||||
['<S-Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
elseif luasnip.locally_jumpable(-1) then
|
||||
cmp.select_prev_item()
|
||||
elseif luasnip.jumpable(-1) then
|
||||
luasnip.jump(-1)
|
||||
else
|
||||
fallback()
|
||||
|
|
Loading…
Reference in New Issue