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' }`
This commit is contained in:
Dhruvin Shah 2022-09-29 16:23:40 -04:00 committed by Sidhanth Rathod
parent d2f0fb316b
commit b142f4c99d

View file

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