Open primeapple opened 1 year ago
For reference, lewis6991/gitsigns.nvim
solves this issue by defining two variations of sign highlights (normal + numhl/signcolumn):
https://github.com/lewis6991/gitsigns.nvim/blob/v0.8.1/doc/gitsigns.txt#L552-L556
NeoVim Version
Describe the bug On some colorschemes the statuscolumn is colored differently than the Background of the buffer. Neotest seems to set the background of the icons, that appear in the statuscolumn when running a test, to the buffer background.
To Reproduce Install and use https://github.com/rebelot/kanagawa.nvim as a colorscheme. Use Neotest to run a test, see the icons with wrong background.
If really needed I can provide a custom init.lua, but this should be straightforward.
Additional context![screenshot](https://user-images.githubusercontent.com/35628420/225997178-28afe0e5-1e1b-43f7-9fba-bf6c9af8a987.png)
I'm not 100% sure how to fix this. The easiest would be to get the background color of the statuscolumn and set the icon background accordingly. If this is not possible, you could give the user the option to set the background of the icons on their own.