fix cmp menu

This commit is contained in:
RingOfStorms (Josh) 2024-05-20 02:10:52 -05:00
parent d822cd7b6d
commit a3bf6b754e
2 changed files with 2 additions and 2 deletions

View file

@ -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" },
})

View file

@ -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),