fix cmp menu
This commit is contained in:
parent
d822cd7b6d
commit
a3bf6b754e
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ vim.opt.splitbelow = true
|
|||
vim.opt.splitright = true
|
||||
|
||||
-- Set completeopt to have a better completion experience
|
||||
vim.opt.completeopt = "menu,menuone,noinsert,noselect"
|
||||
vim.opt.completeopt = "menu,menuone,noinsert"
|
||||
vim.diagnostic.config({
|
||||
float = { border = "single" },
|
||||
})
|
||||
|
|
|
@ -46,7 +46,7 @@ return {
|
|||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
completion = { completeopt = "menu,menuone,noinsert,noselect" },
|
||||
completion = { completeopt = "menu,menuone,noinsert" },
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
-- Scroll the documentation window [b]ack / [f]orward
|
||||
["<C-u>"] = cmp.mapping.scroll_docs(-4),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue