mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-15 14:58:18 +02: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)
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
|
||||||
end,
|
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