about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fnl/nvrc/packs/cmp.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl
index 11595d1..aeb514f 100644
--- a/fnl/nvrc/packs/cmp.fnl
+++ b/fnl/nvrc/packs/cmp.fnl
@@ -60,11 +60,11 @@
                                                                :select false}) [:i :c])
                       :<Tab> (mapping {:i (fn [fallback]
                                               (if (visible) (select_next_item)
-                                              (vim.snippet.jumpable 1) (vim.snippet.jump 1)
+                                              (vim.snippet.active {:direction 1}) (vim.snippet.jump 1)
                                               (fallback)))})
                       :<S-Tab> (mapping {:i (fn [fallback]
                                                   (if (visible) (select_next_item)
-                                                  (vim.snippet.jumpable -1) (vim.snippet.jump -1)
+                                                  (vim.snippet.active {:direction -1}) (vim.snippet.jump -1)
                                                   (fallback)))})}
             :sources [{:name :nvim_lsp}
                       {:name :nvim_lsp_signature_help}]