update
This commit is contained in:
parent
d5d1054096
commit
3cec0c208b
3 changed files with 47 additions and 55 deletions
|
|
@ -8,6 +8,7 @@ vim.diagnostic.config({
|
|||
update_in_insert = false,
|
||||
severity_sort = true,
|
||||
float = {
|
||||
border = "single",
|
||||
source = "always" -- Or "if_many"
|
||||
}
|
||||
})
|
||||
|
|
@ -24,6 +25,11 @@ local border = {
|
|||
{"└", "FloatBorder"}, {"│", "FloatBorder"}
|
||||
}
|
||||
|
||||
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"})
|
||||
|
||||
local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
|
||||
function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
|
||||
opts = opts or {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue