add local jumping to shift tab

pull/302/head
Gaurav Bhatnagar 1 year ago committed by GitHub
parent 1c02cec98b
commit 2844f61d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -478,7 +478,7 @@ cmp.setup {
['<S-Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable(-1) then
elseif luasnip.locally_jumpable(-1) then
luasnip.jump(-1)
else
fallback()

Loading…
Cancel
Save