From be3968e4bcce75e64ced71a35d26c8d985161720 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 1 Sep 2023 22:40:00 +0900 Subject: fix(packs/cmp): fix no completions on cmdline mode --- fnl/nvrc/packs/cmp.fnl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fnl/nvrc') diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index ef3d5eb..b49a1c8 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -62,13 +62,11 @@ : (mapping {:i (fn [fallback] (if (visible) (select_next_item) (luasnip.expand_or_jumpable) (luasnip.expand_or_jump) - (fallback))) - :c (mapping.select_prev_item {:select true})}) + (fallback)))}) : (mapping {:i (fn [fallback] (if (visible) (select_next_item) (luasnip.jumpable -1) (luasnip.jump -1) - (fallback))) - :c (mapping.select_prev_item {:select true})})} + (fallback)))})} :sources [{:name :nvim_lsp} {:name :nvim_lsp_signature_help}] :sorting {:comparators [compare.offset -- cgit 1.4.1