We need to talk about desert
This is the original desert in the MacVim GUI:
$ vim --clean +so\ /path/to/vim-colorschemes/legacy_colors/desert.vim -g
And this is the remake in the MacVim GUI:
$ vim --clean +color\ desert -g
Quite faithful, right? But that weird highlighting for the startup message is bugging me. It uses Normal on top of NonText and, since they have different backgrounds, it creates a surprising "knock out" effect.
Can we do something about it? Should we?
FWIW, it also happens in evening, morning, and ron.
This is the same issue @neutaaaaan was about in https://github.com/vim/vim/issues/11177
As of now only 2 terminals are known to be affected, urxvt and Terminal.app
Not sure if this is vim or terminal issue.
PS, we can workaround this in colorschemes, but not sure if we should.
PPS, actually, I am not sure if we can workaround it.
Well, I am wrong, this is a different issue. And affects all terminals.
So I'm reviving this thread with an ugly screenshot:
After further investigations, it appears that NonText is not at fault, here. What we see is, if I understand it correctly, a side effect of having a different background for Normal and EndOfBuffer:
The intro text uses Normal while the rest uses EndOfBuffer.
Possible solutions:
-
Leave it like this.
PROS:
- the OGs were already like that
- that screen is not supposed to be seen that often
CONS:
- it's really jarring
- it doesn't look "professional" at all
-
in the colorscheme, use the same background for both groups.
PROS:
- most built-in colorschemes do it that way so it would add consistency
- most if not all modern colorschemes do it that way, too
- it's simpler
CONS:
- it kind of betrays the intent of the OG
-
In Vim, use
EndOfBufferfor the intro instead ofNormal.PROS:
- no work on our side
- applies to every colorscheme in existence automagically
CONS:
- some
EndOfBufferare really funky, which would make the intro weird
-
In Vim, use a different "private" group that would be like
Normalfor the foreground and either likeEndOfBufferfor the background or transparent.PROS:
- no work on our side
- applies to every colorscheme in existence automagically
CONS:
- maybe it is hard to do or brittle