summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/cmp.fnl1
1 files changed, 1 insertions, 0 deletions
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 {:<C-k> (cmp.mapping.select_prev_item)
:<C-j> (cmp.mapping.select_next_item)
:<C-b> (cmp.mapping (cmp.mapping.scroll_docs -1)