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 = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
},
|
},
|
||||||
|
window = {
|
||||||
|
completion = {
|
||||||
|
border = "rounded",
|
||||||
|
winhighlight = "Normal:CmpNormal,CursorLine:MyPmenuSel",
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
|
|
|
@ -39,15 +39,6 @@ return {
|
||||||
-- save
|
-- save
|
||||||
keymap.set('n', 'sw', ':w<CR>', { silent = true })
|
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' })
|
vim.api.nvim_set_hl(0, 'MyPmenuSel', { bg = 'NONE', fg = '#d55fde' })
|
||||||
-- gray
|
-- gray
|
||||||
vim.api.nvim_set_hl(0, 'CmpItemAbbrDeprecated', { bg = 'NONE', strikethrough = true, fg = '#808080' })
|
vim.api.nvim_set_hl(0, 'CmpItemAbbrDeprecated', { bg = 'NONE', strikethrough = true, fg = '#808080' })
|
||||||
|
|
Loading…
Reference in New Issue