From d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 27 Feb 2022 15:55:36 +0900 Subject: fix(cmp): fix not invoking action --- fnl/nvrc/packs/cmp.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index 0ff8dc2..616a39d 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -49,7 +49,7 @@ : (cmp.mapping.close) : (cmp.mapping (cmp.mapping.confirm {:behavior cmp.ConfirmBehavior.Replace :select false}) [:i :c]) - :Tab (cmp.mapping {:i (fn [fallback] + : (cmp.mapping {:i (fn [fallback] (if (cmp.visible) (cmp.select_next_item) (luasnip.expand_or_jumpable) (luasnip.expand_or_jump) (fallback))) -- cgit 1.4.1