NLKNguyen / papercolor-theme

:art: Light & Dark Vim color schemes inspired by Google's Material Design
MIT License
2.7k stars 235 forks source link

Papercolor doesn't render `helpStar`s and `helpBar`s properly #161

Closed LunarWatcher closed 3 years ago

LunarWatcher commented 3 years ago

gVim 8.2.2018, Linux Mint 20.

I've found myself writing a lot of help files recently, and I've run into an annoying bug. This has been present for quite some time, but I haven't bothered reporting it because I didn't spend too much time modifying help files.

Note that the results here assume set concealcursor=.

This is what it looks like with onehalflight:

image

And the same thing with papercolor:

image

The * is still rendered, but its color appears to be completely white, which blends in with the background color. I'm not sure if it shows in the screenshot, though, or if it was compressed away. I can, however, see it vaguely, so it's most definitely still being rendered.

The highlight groups in question are helpStar and helpBar, at least according to a command I found in some question on vi.stackexchange.com - I have, however, been unable to find any explicit helpStar and/or helpBar highlighting in either of the themes, so I'm not sure if those highlight groups are relevant. A quick test with hi helpStar guifg=#000000 did fix it, so the group can at least be applied if there isn't some other group that's better. This is out of my depth though. :woman_shrugging:

... also doesn't render backticks (helpBacktick) and presumably other help characters that're normally concealed properly.