-
Notifications
You must be signed in to change notification settings - Fork 64
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
Vim mapping colours to highlight groups #69
Comments
Hello @fladd, this opens a very interesting topic. To be honest, I don't particularly like Solarized's choice of token-color mappings (in particular I think using green for keywords is a bad choice). However, I'm not completely satisfied with current selenized coloring and I indeed intend to change it at least a bit. There is also the issue with number of colors available: solarized uses 8 "accent" colors, but it requires an ugly hack that selenized aims to avoid. So, full solarized compatibility is impossible (at least with coloring based on terminal's ANSI codes). My question is: is having selenized mimic solarized's syntax coloring a must-have for you (and any other people)? Would you be okay with some kind of middle ground? (PS I'm not talking about the status line, that one is definitely a bug.) |
PS could you send me the source used to make the screenshots? I'm surprised that class name was colored green, it's supposed to be pink. I'd like to inspect it. |
@jan-warchol: Thanks for the quick response. I think Solarized's colour mappings are generally pretty well chosen. Something approaching this at least should be welcome by most people I think. I map Python class names to |
Hmm. I'm close to being convinced. Would you be able to help me with testing? Also, @dngray, what do you think? Have you started any work on #67?
Ah, ok. Thanks for explaining. |
Sure. |
Okay, so I suggest the following plan:
|
@fladd Here's the repo with samples for testing; feel free to comment or submit your own samples. https://github.com/jan-warchol/highlighting-code-samples |
Since Selenized ANSI palette doesn't have orange, I'm using magenta for PreProc. Also, I strongly dislike Solarized's green keywords - I think they are ugly and not very readable - so I use bold foreground for that. One other thing I'm considering is differentiating numbers and booleans from strings in some way, maybe using green? Issue #69.
I'll get on that this week.
I very much like the DESIGN.md for limestone and would be keen to keep that methodology for selenized. |
Since Selenized ANSI palette doesn't have orange, I'm using magenta for PreProc. Also, I strongly dislike Solarized's green keywords - I think they are ugly and not very readable - so I use bold foreground for that. One other thing I'm considering is differentiating numbers and booleans from strings in some way, maybe using green? Issue #69.
Since Selenized ANSI palette doesn't have orange, I'm using magenta for PreProc. Also, I strongly dislike Solarized's green keywords - I think they are ugly and not very readable - so I use bold foreground for that. One other thing I'm considering is differentiating numbers and booleans from strings in some way, maybe using green? Issue #69.
Since Selenized ANSI palette doesn't have orange, I'm using magenta for PreProc. Also, I strongly dislike Solarized's green keywords - I think they are ugly and not very readable - so I use yellow for that. Since this choice was strongly opposed by @fladd, I've added an option to override it. Closes issue #69.
Since Selenized ANSI palette doesn't have orange, I'm using magenta for PreProc. Also, I strongly dislike Solarized's green keywords - I think they are ugly and not very readable - so I use yellow for that. Since this choice was strongly opposed by @fladd, I've added an option to override it. Closes issue jan-warchol#69.
The current mapping from the colours to their highlight groups does not seem to be optimal. I would have expected Selenized to look very similar to Solarized (just with better contrast and slightly different shades of the colours), but the syntax colours are completely shuffled around.
(left: Solarized8, right: Selenized)
Also, something weird is going on with the status line.
The text was updated successfully, but these errors were encountered: