Explorar o código

add local jumping to shift tab

Gaurav Bhatnagar %!s(int64=3) %!d(string=hai) anos
pai
achega
2844f61d96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      init.lua

+ 1 - 1
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()