diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-05 02:52:28 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-05 02:52:28 +0100 |
commit | 525232673bb6f686cc16bda0be8570076b6ca51d (patch) | |
tree | 9349840d37d509322654866fc04f6979bd7334c1 /fnl/config | |
parent | e3ef0791e7462c95c77ec9014d92ec97484789c8 (diff) |
Update cmp
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/cmp.fnl | 1 |
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) |