From 91dd2820c7c1ee2af6b3d7fe6f9ee6e80a22e13b Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 7 Aug 2022 17:53:47 +0200 Subject: [PATCH] nvim: Use to close cmp --- home/config/nvim/plugins/cmp.fnl | 1 + 1 file changed, 1 insertion(+) diff --git a/home/config/nvim/plugins/cmp.fnl b/home/config/nvim/plugins/cmp.fnl index a678b6b..abdcac1 100644 --- a/home/config/nvim/plugins/cmp.fnl +++ b/home/config/nvim/plugins/cmp.fnl @@ -30,6 +30,7 @@ {:name :path}]) :mapping (cmp.mapping.preset.insert {: (cmp.mapping {:i (cmp.mapping.abort) :c (cmp.mapping.close)}) + : (cmp.mapping {:i (cmp.mapping.abort)}) : (cmp.mapping {:c #(if (cmp.visible) (cmp.select_next_item {:behavior cmp.SelectBehavior.Insert}) (cmp.complete))