-
Notifications
You must be signed in to change notification settings - Fork 155
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
Wrong color for function call #104
Comments
Sublime updated their definitions for php and a few people have been saying it looks odd. This this most likely an issue with the php package as the theme does very little for language specific stuff |
Any suggestion we could go around this? |
I'm investigating here: |
You have a Thus, the first selector should probably be replaced with |
Just a note that we are currently standardizing on
Our intent is to continue working on getting these standardized and then I'm going to write up official docs on what scopes are recommended for syntax authors and what scopes should be handled by color schemes. My work to date has been focused on trying to preserve existing scope names where possible, but making changes where some existing languages may use one scope and others use a different scope. This, of course, will result in some things breaking along the way, but hopefully in the end we will have a much better experience for package developers and users in terms of syntaxes and color schemes. |
The forum thread https://forum.sublimetext.com/t/a-convention-for-scope-naming/17105 could also be of interest in this regard, since it also contains scope name analysis of common color schemes or syntax definitions, together with a hand ful recommendations. It does not contain all the discussion however since part of that has taken place in the sublimehq/Packages issues. |
I've added a test where the function color should be
Added a fix as per @FichteFoll information. |
I have an issue that happened after a couple of sublimes updates ago where the function call color (supposed to be yellow) has been lost and it turned into the same color as a variable, in PHP. This is also the case for me in JS.
See screenshot: http://i.imgur.com/uTVJkwG.png
In the screenshot
current_time
should be in yellow, right? Can a package conflict or something do that?The text was updated successfully, but these errors were encountered: