make lsp related popups all look the same

This commit is contained in:
2024-04-25 22:59:22 -04:00
parent e39c8ef5d6
commit 30edbcbb6b
3 changed files with 13 additions and 5 deletions

View File

@ -57,10 +57,15 @@ vim.diagnostic.config({
severity_sort = true,
})
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover,
{ border = 'shadow', })
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
vim.lsp.handlers.hover, {
border = 'solid',
})
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
local status_ok1, mason = pcall(require, "mason")