Neovim: Better distinguish popup windows form background
This commit is contained in:
parent
5ff61f8757
commit
43ac415294
@ -651,6 +651,12 @@ require('lazy').setup({
|
||||
luasnip.config.setup {}
|
||||
|
||||
cmp.setup {
|
||||
window = {
|
||||
-- Optionally add a border to the completions windows.
|
||||
-- Does not affect the <shift>-k window.
|
||||
-- completion = cmp.config.window.bordered(),
|
||||
-- documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
luasnip.lsp_expand(args.body)
|
||||
@ -756,6 +762,14 @@ require('lazy').setup({
|
||||
telescope = true,
|
||||
which_key = true,
|
||||
},
|
||||
custom_highlights = function(C)
|
||||
return {
|
||||
WinSeparator = { fg = C.pink },
|
||||
NormalFloat = { bg = C.crust },
|
||||
Pmenu = { bg = C.crust },
|
||||
PmenuSel = { fg = C.text, bg = C.surface0, style = { 'bold' } },
|
||||
}
|
||||
end,
|
||||
},
|
||||
init = function()
|
||||
vim.cmd.colorscheme 'catppuccin'
|
||||
|
Loading…
Reference in New Issue
Block a user