remove unnecessary code
This commit is contained in:
parent
51cf93a90e
commit
8742b343b3
@ -63,17 +63,6 @@ local border = {
|
||||
{ "│", "FloatBorder" },
|
||||
}
|
||||
|
||||
-- set border for floating windows and signature help
|
||||
l.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = border })
|
||||
l.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = border })
|
||||
|
||||
-- lsp status
|
||||
-- table from lsp severity to vim severity.
|
||||
local severity = {
|
||||
"error",
|
||||
"warn",
|
||||
"info",
|
||||
"info", -- map both hint and info to info?
|
||||
}
|
||||
vim.lsp.handlers["window/showMessage"] = function(err, method, params, client_id)
|
||||
vim.notify(method.message, severity[params.type])
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user