neovim: Add border to nvim-lspconfig popups

This makes it easier to differentiate code from lsp popups.
This commit is contained in:
Donovan Glover 2024-03-30 08:12:22 -04:00
parent 2625987655
commit f1a5aa8520
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -294,6 +294,18 @@ in
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
end,
})
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, { border = "single" }
)
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(
vim.lsp.handlers.signature_help, { border = "single" }
)
vim.diagnostic.config {
float = { border = "single" }
}
'';
}
{