浏览代码

change luasnip tab jumping to locally jumpable

Gaurav Bhatnagar 3 年之前
父节点
当前提交
1c02cec98b
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  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()