Explorar o código

change luasnip tab jumping to locally jumpable

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

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