summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Bhatnagar <11798509+mech-a@users.noreply.github.com>2023-05-07 16:28:13 -0700
committerGitHub <noreply@github.com>2023-05-07 16:28:13 -0700
commit1c02cec98b9192d8c7e990b8243e3ae007325bad (patch)
tree8b037ead767982aca2e144936f11b9b183f80240
parent0470d07c8c44f270bd64d0d11f5ebb8d994a1c00 (diff)
change luasnip tab jumping to locally jumpable
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7fd9c54..f4d8d0f 100644
--- a/init.lua
+++ b/init.lua
@@ -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()