-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Two requests for improving the PHP syntax highlighting in ZED:
- The highlight.scm seems to pick up the constant variable
CONSTon this class as@constructorhighlights, instead of@constanthighlights. - The highlight.scm correctly respects usages of the
->propertyaccessing (cyan), and->functioncalling (blue), but highlights the definition of the propertyprotected int $default = 1000;with the@variablecoloring instead of the@propertycoloring.
Relevant syntax snippet:
"constant": {
"color": "#B310A5"
},
"constant.builtin": {
"color": "#B310A5"
},
"constructor": {
"color": "#B00F0F"
},
"keyword": {
"color": "#875B10"
},
"number": {
"color": "#B310A5"
},
"primary": {
"color": "#002b36"
},
"property": {
"color": "#037585"
},
"punctuation": {
"color": "#002b36"
},
"punctuation.bracket": {
"color": "#875B10"
},
"type": {
"color": "#795CA5"
},
"variable": {
"color": "#102530"
},
Metadata
Metadata
Assignees
Labels
No labels