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 { [''] = cmp.mapping.select_next_item(), [''] = cmp.mapping.select_prev_item(),