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:
parent
2933d7da62
commit
2228268fd6
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user