From 2fb4d5c3767935551f13a3cf1fa9f4814014ee8f Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 11 May 2024 01:42:59 +0900 Subject: fix(packs/cmp): use vim.snippets.active * Breaking change introduced in https://github.com/neovim/neovim/commit/bc7f86209d3961aa479a8caeb792a8d39de55ece --- fnl/nvrc/packs/cmp.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/nvrc/packs') 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]) : (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)))}) : (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}] -- cgit 1.4.1