diff options
| author | jdhao <jdhao@hotmail.com> | 2021-04-12 00:27:32 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-04-12 00:27:32 +0800 |
| commit | 2228268fd6d4690a47ae8e86aeaade09f022199d (patch) | |
| tree | e3469e82222500f7ec654d94cef1b539b26c3235 /lua | |
| parent | 2933d7da625d96907b077e5ad7258bd5e8785dc6 (diff) | |
change lsp hover doc border
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lsp/init.lua | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index 57b7392..73db5e9 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -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 { |
