Closed trongthanh closed 2 months ago
send a PR and change this file https://github.com/NvChad/ui/blob/v2.5/lua/nvchad/lsp/init.lua#L12
@trongthanh you got transparent=true?
@siduck I don't get it?
nvm it.
before the floating window had some sort of bg color, now it doesnt, weird. Does it not use normalfloat hlgroup anymore :thinking:
Is your feature request related to a problem? Please describe.
Latest nvim 0.10 LSP diagnostic & documentation floats by default have no borders, making them difficult to read (blended with buffer's text)
Describe the solution you'd like
Add the global setting by overriding
vim.lsp.util.open_floating_preview
as described in nvim-lspconfig wiki.Describe alternatives you've considered
Instead of overriding
vim.lsp.util.open_floating_preview
in nvchad plugin, do it in thestarter
repo with explanation comments.Screenshot LSP Documentation float (built-in key binding shift
K
) has no bordersLSP Documentation float with borders
The override setting