Open shunlir opened 5 years ago
I did a few investigation, dim
only works when t_Co>=16
.
Do you know is there any working color fallback method supported by VIM can be used?
I tried colors in :h cterm-color
, but no one is perfect:
3
when t_Co==8
, 11
when t_Co==16
, but for 256 color terminal, the color number is 229
3*
doesn't change to 11
when t_Co
is 16
or 256
, seems a bug of VIM? (this works for neovim)Hey @shunlir, sorry for taking so long to get back to you on this. I’m not sure what the issue is here, but are you still having this problem? I’d merge a 8-color setting if it looks okay, but I’m afraid I don’t have time to look into that myself.
The color scheme is using 16 color number, taking a highlight group from the source:
the background color is not showing correctly for 8 colors terminal: After changing
11
to3*
, it looks good: