vim / colorschemes

colorschemes for Vim
274 stars 23 forks source link

We need to talk about desert #216

Open romainl opened 1 year ago

romainl commented 1 year ago

This is the original desert in the MacVim GUI:

Capture d’écran 2022-09-30 à 08 22 39
$ vim --clean +so\ /path/to/vim-colorschemes/legacy_colors/desert.vim -g

And this is the remake in the MacVim GUI:

Capture d’écran 2022-09-30 à 08 25 36
$ 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.

habamax commented 1 year ago

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.

habamax commented 1 year ago

Well, I am wrong, this is a different issue. And affects all terminals.

romainl commented 1 year ago

So I'm reviving this thread with an ugly screenshot:

Capture d’écran 2023-02-26 à 09 02 51

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:

Capture d’écran 2023-02-26 à 09 21 43

The intro text uses Normal while the rest uses EndOfBuffer.

Possible solutions: