-
Notifications
You must be signed in to change notification settings - Fork 73
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
(orignal theme compatibility patch) Do not color arithmetical operators #37
Comments
This implementation of solarized strives for internal consistency over compliance with the "original". Your arguments make sense though and the changes make sense. If you can put it in a pull request and provide before and after screenshots, I'll happily pull in the changes. |
Thank you |
Just to add a little context, I think this is another of those issues where you could debate the intent of the original Vim highlighting, or simply follow how it looks. If you look at the relevant section of But the syntax files provided with Vim are relatively simple, and do not allow highlighting operators in the languages I checked (there are no rules for them). Personally, I think either works fine. I can see the argument for removing unnecessary noise. |
Yes, you're right. We shouldn't let limitations of Vim dictate the syntax highlighting in Sublime if the latter has a much richer palette. I think I would've pulled this if it added colors to all syntaxes as well instead of removing it everywhere. As you say, either way is fine, but consistency across languages in the same editor is a nice thing to have. |
Solarized Dark and Light themes orginally does not color aritchmetical operators e.g. (=, +, -, ++, +=, &&, ||) for any language e.g.
python
java
Sublime Text 3 port follows these setting in some languages e.g. C++, Haskell but for other languages like Python or Ruby it colors these operators same as keywords. This is deviation from orginal theme and additionally it introduces noise.
I have prepared lines that has to be added to make Sublime scheme compatible with orginal one.
Add following lines to dark scheme:
Add following lines to light scheme:
The text was updated successfully, but these errors were encountered: