From 175ba14e5da3a715ed26f34fdc55505e2e7f5157 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 20 Jul 2021 00:35:40 +0800 Subject: [PATCH] update lsp hover window border conf Floating window border supports rounded style by default, no need to use customized one. --- lua/config/lsp.lua | 13 ++----------- 1 file 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' + } )