diff options
Diffstat (limited to 'lua/cmp-setup.lua')
-rw-r--r-- | lua/cmp-setup.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/cmp-setup.lua b/lua/cmp-setup.lua index ce389e4..a78aded 100644 --- a/lua/cmp-setup.lua +++ b/lua/cmp-setup.lua @@ -11,6 +11,9 @@ cmp.setup { luasnip.lsp_expand(args.body) end, }, + completion = { + completeopt = 'menu,menuone,noinsert' + }, mapping = cmp.mapping.preset.insert { ['<C-n>'] = cmp.mapping.select_next_item(), ['<C-p>'] = cmp.mapping.select_prev_item(), |