feat: Added border for lsp hover doc

This commit is contained in:
ashincoder 2021-08-24 13:23:01 +05:30 committed by siduck76
parent 7d74ca4767
commit 2f61dbfcd8
1 changed files with 6 additions and 0 deletions

View File

@ -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)