Is 8 colors terminal supported by dim?
shunlir opened this issue · comments
shunlir commented
shunlir commented
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:
- using color name has good fall back from 16 to 8 colors, e.g. LightYellow means
3
whent_Co==8
,11
whent_Co==16
, but for 256 color terminal, the color number is229
- using
3*
doesn't change to11
whent_Co
is16
or256
, seems a bug of VIM? (this works for neovim)
Jeff Kreeftmeijer commented
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.