aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGaurav Bhatnagar <11798509+mech-a@users.noreply.github.com>2023-05-07 16:38:44 -0700
committerGitHub <noreply@github.com>2023-05-07 16:38:44 -0700
commit2844f61d968501b531758e8a301a53a77b2fb69e (patch)
tree6a30ed3baf70757ed8daec9e15f925071d0c3f69 /init.lua
parent1c02cec98b9192d8c7e990b8243e3ae007325bad (diff)
add local jumping to shift tab
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index f4d8d0f..1496d24 100644
--- a/init.lua
+++ b/init.lua
@@ -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()