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:
parent
adc3130e83
commit
21e9e3cb09
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue