-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sample_spell.vim review #161
Comments
Thank you for this thorough report. I will take a look at it right now. |
Let's see… the default colors are:
I think we should try to stick with those as much as possible and only deviate when strictly necessary. Maybe not the values but… their spirit : blues for cap, cyans for local, magentas for rare, and reds for bad. FWIW, here are the default values as established in xterm's source:
and the default values as established in
And here is the default "spelling" palette, normalized for 256c: https://color.hailpixel.com/#5F5FFF,0000FF,00D7D7,008787,FF00FF,D700D7,FF0000,D70000 |
@gdupras FWIW, I can reproduce the termguicolors issue but it goes away after a ^L or some visual selection so it looks more like a redrawing issue to me than like a real issue with these colorschemes. Maybe that's something worth investigating in its own right. |
Hmm, weird. I cannot reproduce the termguicolors issue in cmd.exe on Windows 10. I'll have to try again in Konsole later today once I get back home. |
Here is a reduced version of Apprentice with only the strict necessary for testing How it looks with Note that I recently switched to colortemplate. In case that was relevant, I dug out the last official release of Apprentice (note to self: It's freaking old, I should make a new one), which was written differently, and the result is the same. FWIW, I also tried with a very popular colorscheme,
|
FWIW, a
is enough to reproduce the issue with:
but not with:
I propose to change the command to run the spelling test to:
unless there is a valid reason for the current syntax. Note Edit: Ah, I see, linked groups are not linked if |
Calling the sample with |
Maybe something like this could be added to
Then call it with:
Still not perfect, but just to point out another possibility. Edit: Or this:
to be called as follows:
|
Now I see that nothing of what I have proposed above prevents the issue when I don't know whether you mean that a different script is needed for |
@gdupras I think I have fixed all the fixable issues. Could you check it out? |
Good news, thanks. |
Deal with some of the issues mentioned in #161
Indeed it should. |
Last bug fixed in master. |
The Normal, String, and Comment groups are the ones that are most often spell checked so the Spell groups should look good on those.
For this review, I used
sample_spell.vim
as modified in PR #154.For each colorscheme, I looked at three environments:
gVim:
gvim --clean -S colors/blue.vim -S colors/tools/sample_spell.vim
256c:
vim --clean -S colors/blue.vim -S colors/tools/sample_spell.vim
termguicolors:
vim --clean -c "set termguicolors" -S colors/blue.vim -S colors/tools/sample_spell.vim
The above commands are typed in Konsole, on Kubuntu.
&t_Co
is 256 by default in this terminal.There is clearly something very wrong with
termguicolors
. The other two environments look fine for the most part but will still need some small tweaks.blue.vim
gVim
256c
termguicolors
Bad SpellCap and SpellBad.
SpellLocal does not match gVim version.
darkblue.vim
gVim
256c
termguicolors
delek.vim
gVim
256c
termguicolors
desert.vim
gVim
256c
termguicolors
elflord.vim
gVim
SpellCap is too dark.
SpellRare looks like String.
256c
SpellCap is too dark.
SpellRare looks like String.
termguicolors
evening.vim
gVim
256c
termguicolors
industry.vim
gVim
256c
termguicolors
koehler.vim
gVim
256c
termguicolors
morning.vim
gVim
256c
SpellCap looks like String.
SpellLocal and SpellBad are very similar.
termguicolors
Bad SpellCap, SpellRare, and SpellBad.
SpellLocals does not match gVim version.
murphy.vim
gVim
256c
termguicolors
pablo.vim
gVim
256c
termguicolors
Bad SpellLocal, SpellRare, SpellBad.
SpellCap does not match gVim version.
peachpuff.vim
gVim
256c
termguicolors
Bad SpellCap, SpellLocal, and SpellBad.
SpellRare does not match gVim version.
ron.vim
gVim
256c
Normal and String look the same
SpellCap is too dark.
termguicolors
Normal and String look the same
Bad SpellCap, SpellLocal, SpellRare, and SpellBad.
shine.vim
gVim
256c
termguicolors
slate.vim
gVim
256c
termguicolors
torte.vim
gVim
256c
termguicolors
Bad SpellLocal, SpellRare, and SpellBad.
SpellCap does not match gVim version.
zellner.vim
gVim
SpellBad looks like Comment.
SpellRare looks like String.
256c
SpellBad looks like Comment.
SpellRare looks like String.
SpellLocal and SpellBad look very similar.
termguicolors
Bad SpellCap, SpellRare, and SpellBad.
SpellLocal does not match gVim version.
The text was updated successfully, but these errors were encountered: