update lsp hover window border conf

Floating window border supports rounded style by default, no need to use
customized one.
This commit is contained in:
jdhao
2021-07-20 00:35:40 +08:00
parent d8d1401a78
commit 175ba14e5d
+2 -11
View File
@@ -145,15 +145,6 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] =
-- See https://github.com/neovim/neovim/pull/13998. -- See https://github.com/neovim/neovim/pull/13998.
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with( vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, { vim.lsp.handlers.hover, {
border = { border = 'rounded'
{"╭", "FloatBorder"}, }
{"─", "FloatBorder"},
{"╮", "FloatBorder"},
{"│", "FloatBorder"},
{"╯", "FloatBorder"},
{"─", "FloatBorder"},
{"╰", "FloatBorder"},
{"│", "FloatBorder"}
}
}
) )