Closed romainl closed 2 years ago
peachpuff pmenu
underline (applied to cursorline) is a no-go too
Delek both in 16 and 256
elflord 256
elflord 16
industry both in 256 and 16
pablo
torte
zellner
Bolds are removed indeed.
Fixes needed are:
^^^^^^^^^
for the underline lets address it in another go/pr
cmd.exe does nothing with reverse
so many statuslines are broken there
cmd.exe does nothing with reverse so many statuslines are broken there
Sigh
@romainl pls check my changes
I did check against xterm16 and cmd.exe but could miss here and there.
@romainl done
That 16c cmd.exe
is an abomination (again reverse
):
ok for 256c
If we want to support it we will have to add a conditional into _diff
for win32
and t_Co
.
Or just remove reverse
and switch fg and bg manually
The observations below are valid for CMD.exe
in Windows 10 version 1809 from fall 2018.
&t_Co
is set to 16 by default by Vimbold
, reverse
, underline
, and italic
attributes are 100% unreliable in the default scenariocursorline
can't be underline
cursorline
can have a regular ctermbg
and ctermfg
but a) the choice of colors is very limited in 16c, and b) the colors are user-editable anyway (but that is a global 16c issue that we can't get around)&t_Co
can be set to 256 in Vim in which case we get a mostly working colorschemeunderline
et reverse
work as expected so they seem to be safebold
and italic
don't do anything so it is best to not rely on themWhat to do with 16c CMD.exe
?
:set t_Co=256
?:help 'cursorline'
?@habamax in c50e5ef the templates are missing. Does that mean that you worked directly on the colorschemes?
Vim is not good at inferring terminal capabilities so we can't rely on it for making the right decisions
I'd try to get that fixed, or at least have the windows terminal and cmd.exe
situation figured out.
Considering they're relatively different from the unix terminal ecosystem, they might be easier to autodetect. We could then try to automatically load more compatible versions of the colorschemes, and probably throw some kind of warning and user manual reference in the ModeMsg
line, with potential modifications to be made to the user's .vimrc
.
Considering that vim is exceedingly unlikely to ever be installed by default on a windows machine, this would be a much better solution to me than effectively kneecapping the default colorschemes in all possible 16c contexts.
Does _tcozero
even survive being used in cmd.exe
?
@romainl no, I did everything using templates -- there should be _diff
changed
Vim is not good at inferring terminal capabilities so we can't rely on it for making the right decisions
I'd try to get that fixed, or at least have the windows terminal and
cmd.exe
situation figured out. Considering they're relatively different from the unix terminal ecosystem, they might be easier to autodetect. We could then try to automatically load more compatible versions of the colorschemes, and probably throw some kind of warning and user manual reference in theModeMsg
line, with potential modifications to be made to the user's.vimrc
.Considering that vim is exceedingly unlikely to ever be installed by default on a windows machine, this would be a much better solution to me than effectively kneecapping the default colorschemes in all possible 16c contexts.
I agree on principle but it is something I, personally, am not equipped for. My opinion has been for a long time that the nasty colors/style/capabilities business should be fixed in Vim itself but, in the end, the work has to be done by someone and I don't have the expertise be that someone. So I don't feel comfortable taking a stand and saying "let's do it" because the "'s" means "us" and a) I will be of no help, and b) it will mean "do it". I don't like it at all.
Does
_tcozero
even survive being used incmd.exe
?
Given the liberal use of stylistic attributes I doubt it.
@habamax sorry.
Does
_tcozero
even survive being used incmd.exe
?
Probably not. Manual set t_Co=0
has no effect, it is being reset to 16.
@romainl I agree this has to be fixed upstream, I don't have the technical know-how either.
I'm against gimping colorschemes to work around well-documented, long-standing issues in vim itself. There's absolutely no point in building on top of broken foundations.
Most of the readability issues were solved in this PR.
Cursorline is what I don't know what to do with.
I would suggest to
Properties of the Windows console before :set cursorline
and after :set nocursorline
:
Properties of the Windows Console after :set cursorline
:
We can't do anything about it at our level so I think we will stop working on that topic for now (and open an issue against vim/vim).
So, leaving the cursorline issue out of the question for now…
- are the remakes usable in xterm-like terminal emulators with the default palette?
Yes
- are the remakes usable in the Windows console with the default palette?
Yes
But I could miss smth
I spotted a few instances where the contrast between StatusLineNC and StatusLine was not good enough. There is also at least one unreadable wildmenu. I'm on it.
@habamax what do you think?
@romainl looks good, checked with gui and cmd.exe (16c)
OK, let's go.
Should fix https://github.com/vim/colorschemes/issues/151