make lsp related popups all look the same
This commit is contained in:
@ -30,11 +30,11 @@ cmp.setup {
|
|||||||
window = {
|
window = {
|
||||||
completion = {
|
completion = {
|
||||||
scrollbar = false,
|
scrollbar = false,
|
||||||
border = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' },
|
border = 'solid',
|
||||||
winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC",
|
winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC",
|
||||||
},
|
},
|
||||||
documentation = {
|
documentation = {
|
||||||
border = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' },
|
border = 'solid',
|
||||||
winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC",
|
winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -57,10 +57,15 @@ vim.diagnostic.config({
|
|||||||
severity_sort = true,
|
severity_sort = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover,
|
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
|
||||||
{ border = 'shadow', })
|
vim.lsp.handlers.hover, {
|
||||||
|
border = 'solid',
|
||||||
|
})
|
||||||
|
|
||||||
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
|
||||||
vim.lsp.handlers.signature_help, { border = 'shadow' })
|
vim.lsp.handlers.signature_help, {
|
||||||
|
border = 'solid',
|
||||||
|
})
|
||||||
|
|
||||||
-- get servers and attach to them
|
-- get servers and attach to them
|
||||||
local status_ok1, mason = pcall(require, "mason")
|
local status_ok1, mason = pcall(require, "mason")
|
||||||
|
@ -53,6 +53,9 @@ highlight('EndOfBuffer', { fg = vim.g.terminal_color_background })
|
|||||||
-- make all backgrounds the same color
|
-- make all backgrounds the same color
|
||||||
highlight('NormalNC', cpyhl('Normal'))
|
highlight('NormalNC', cpyhl('Normal'))
|
||||||
|
|
||||||
|
highlight('NormalFloat', { bg = c.bg_dark })
|
||||||
|
highlight('FloatBorder', cpyhl('NormalFloat'))
|
||||||
|
|
||||||
-- plugin highlights ----------------------------------------------------------
|
-- plugin highlights ----------------------------------------------------------
|
||||||
-- telescope
|
-- telescope
|
||||||
highlight('TelescopeMatching', { fg = c.yellow })
|
highlight('TelescopeMatching', { fg = c.yellow })
|
||||||
|
Reference in New Issue
Block a user