aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-20 00:35:40 +0800
committerjdhao <jdhao@hotmail.com>2021-07-20 00:35:40 +0800
commit175ba14e5da3a715ed26f34fdc55505e2e7f5157 (patch)
treedeac5e225e5ee452a70558834b741f5def8bf000
parentd8d1401a780f7ef0e79999d2fa67341568fa6918 (diff)
update lsp hover window border conf
Floating window border supports rounded style by default, no need to use customized one.
-rw-r--r--lua/config/lsp.lua13
1 files changed, 2 insertions, 11 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index 715a0bc..405980c 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -145,15 +145,6 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] =
-- See https://github.com/neovim/neovim/pull/13998.
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, {
- border = {
- {"╭", "FloatBorder"},
- {"─", "FloatBorder"},
- {"╮", "FloatBorder"},
- {"│", "FloatBorder"},
- {"╯", "FloatBorder"},
- {"─", "FloatBorder"},
- {"╰", "FloatBorder"},
- {"│", "FloatBorder"}
- }
- }
+ border = 'rounded'
+ }
)