mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
feat: Added border for lsp hover doc
This commit is contained in:
parent
7d74ca4767
commit
2f61dbfcd8
1 changed files with 6 additions and 0 deletions
|
@ -109,6 +109,12 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagn
|
||||||
underline = true,
|
underline = true,
|
||||||
update_in_insert = false, -- update diagnostics insert mode
|
update_in_insert = false, -- update diagnostics insert mode
|
||||||
})
|
})
|
||||||
|
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",
|
||||||
|
})
|
||||||
|
|
||||||
-- suppress error messages from lang servers
|
-- suppress error messages from lang servers
|
||||||
vim.notify = function(msg, log_level, _opts)
|
vim.notify = function(msg, log_level, _opts)
|
||||||
|
|
Loading…
Reference in a new issue