fix
This commit is contained in:
parent
75e4932e68
commit
72aa7f65b2
6
init.lua
6
init.lua
|
@ -529,6 +529,12 @@ cmp.setup {
|
|||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
},
|
||||
window = {
|
||||
completion = {
|
||||
border = "rounded",
|
||||
winhighlight = "Normal:CmpNormal,CursorLine:MyPmenuSel",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
|
|
|
@ -39,15 +39,6 @@ return {
|
|||
-- save
|
||||
keymap.set('n', 'sw', ':w<CR>', { silent = true })
|
||||
|
||||
require 'cmp'.setup {
|
||||
window = {
|
||||
completion = {
|
||||
border = "rounded",
|
||||
winhighlight = "Normal:CmpNormal,CursorLine:MyPmenuSel",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vim.api.nvim_set_hl(0, 'MyPmenuSel', { bg = 'NONE', fg = '#d55fde' })
|
||||
-- gray
|
||||
vim.api.nvim_set_hl(0, 'CmpItemAbbrDeprecated', { bg = 'NONE', strikethrough = true, fg = '#808080' })
|
||||
|
|
Loading…
Reference in New Issue