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 adc3130e83
commit 21e9e3cb09

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 {