From 525232673bb6f686cc16bda0be8570076b6ca51d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 5 Jan 2023 02:52:28 +0100 Subject: Update cmp --- fnl/config/cmp.fnl | 1 + 1 file changed, 1 insertion(+) diff --git a/fnl/config/cmp.fnl b/fnl/config/cmp.fnl index 807f022..d1cedec 100644 --- a/fnl/config/cmp.fnl +++ b/fnl/config/cmp.fnl @@ -9,6 +9,7 @@ (lspkind.init) (cmp.setup {:snippet {:expand (fn [args] (luasnip.lsp_expand args.body))} + :completion {:completopt "menu,menuone,noinsert"} :mapping (cmp.mapping.preset.insert {: (cmp.mapping.select_prev_item) : (cmp.mapping.select_next_item) : (cmp.mapping (cmp.mapping.scroll_docs -1) -- cgit v1.2.3-70-g09d2