change luasnip tab jumping to locally jumpable

This commit is contained in:
Gaurav Bhatnagar 2023-05-07 16:28:13 -07:00 committed by GitHub
parent 0470d07c8c
commit 1c02cec98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()