Closed Ch00k closed 6 months ago
Borders would be what I recommend.
You can override that highlight group in your own config if you want to change it.
@RRethy thank you for the tip. I am not very familiar with Vim UI elements and color scheme stuff. Would you mind giving an example of what I should do to enable those borders in my config?
I found out that you can add a border to coc.nvim floating windows by adding "diagnostic.floatConfig.border": true
to coc.nvim config file (more info in coc-config-float
section of coc.nvim docs). Look a little better now.
The floating windows from coc.nvim have the same background color as the main window, and no border, which makes them very difficult to read. It looks like #54 was an attempt to change that, but it was discarded. The comment in that PR mentions the "border option", however, when I make the following change, I see no difference. It looks like the floating windows have no border at all.
Is there a reason to not change the value of
NormalFloat
, so that the floating window background is different from the main window? If so, what would be the best way to have the floating window stand out a bit more?