소스 검색

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