ソースを参照

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