config(cmp): correcting completeopt setup

From the neovim doc,
In Vimscript:
    `set completeopt=menu,menuone,noselect`

In Lua using `vim.o`:
    `vim.o.completeopt = 'menu,menuone,noselect'`

In Lua using `vim.opt`:
    `vim.opt.wildignore = { 'menu', 'menuoune', 'noselect' }`
pull/1621/head
Dhruvin Shah 2 years ago committed by Sidhanth Rathod
parent adc3130e83
commit 21e9e3cb09

@ -6,7 +6,7 @@ end
require("base46").load_highlight "cmp"
vim.opt.completeopt = "menuone,noselect"
vim.o.completeopt = "menu,menuone,noselect"
local function border(hl_name)
return {

Loading…
Cancel
Save