Skip to content

Commit

Permalink
add local jumping to shift tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mech-a authored May 7, 2023
1 parent 1c02cec commit 2844f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2844f61

Please sign in to comment.