1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

change lsp hover doc border

This commit is contained in:
jdhao 2021-04-12 00:27:32 +08:00
parent 2933d7da62
commit 2228268fd6

View File

@ -100,11 +100,20 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
-- The following settings works with the bleeding edge neovim.
-- See https://github.com/neovim/neovim/pull/13998.
-- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
-- vim.lsp.handlers.hover, {
-- border = 'single'
-- }
-- )
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
vim.lsp.handlers.hover, {
border = {
{"", "Normal"},
{"", "Normal"},
{"", "Normal"},
{"", "Normal"},
{"", "Normal"},
{"", "Normal"},
{"", "Normal"},
{"", "Normal"}
}
}
)
-- nvim-compe settings
require'compe'.setup {