Skip to content

Commit

Permalink
change luasnip tab jumping to locally jumpable
Browse files Browse the repository at this point in the history
  • Loading branch information
mech-a authored May 7, 2023
1 parent 0470d07 commit 1c02cec
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 @@ -469,7 +469,7 @@ cmp.setup {
['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
elseif luasnip.expand_or_locally_jumpable() then
luasnip.expand_or_jump()
else
fallback()
Expand Down

0 comments on commit 1c02cec

Please sign in to comment.