mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 19:23:48 +01:00
neovim: Add border to nvim-lspconfig popups
This makes it easier to differentiate code from lsp popups.
This commit is contained in:
parent
2625987655
commit
f1a5aa8520
@ -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" }
|
||||
}
|
||||
'';
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user