Skip to content

Commit

Permalink
revising js highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiewilson committed Feb 10, 2016
1 parent 95a5836 commit 43e9852
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 4 deletions.
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"2.0.0": "messages/2.0.0.txt",
"2.0.1": "messages/2.0.1.txt",
"2.0.2": "messages/2.0.2.txt",
"2.0.3": "messages/2.0.3.txt"
"2.0.3": "messages/2.0.3.txt",
"2.0.4": "messages/2.0.4.txt"
}
1 change: 1 addition & 0 deletions messages/2.0.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.4 - Revising JS color highlighting
79 changes: 76 additions & 3 deletions predawn.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,93 @@ COLOR KEY
<key>name</key>
<string>Entity</string>
<key>scope</key>
<string>entity, meta.function.js, variable.function.js, meta.group.braces.round.function.arguments.js</string>
<string>entity</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#92BFBF</string>
</dict>
</dict>

<!-- Javascript -->
<dict>
<key>name</key>
<string>Javascript - White</string>
<key>scope</key>
<string>source.js, variable.other.class.js, variable.other.property.static.js, entity.name.function.js, keyword.operator.accessor.js, variable.other.readwrite.js, variable.other.object.js, variable.parameter.function.js, keyword.operator.assignment.js, punctuation.separator.key-value.js, string.unquoted.label.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#f1f1f1</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Javascript - Yellow</string>
<key>scope</key>
<string>keyword.control.flow.js, variable.language.this.js, keyword.control.conditional.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#EDE480</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Javascript - Light Blue</string>
<key>scope</key>
<string>string.quoted.single.js, string.quoted.single.js entity.name.function.js, variable.parameter.function.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#BDDCDC</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Javascript - Blue</string>
<key>scope</key>
<string>meta.group.braces.curly meta.property.class.js variable.other.class.js, source.js meta.group.braces.round meta.function-call.with-arguments.js variable.function.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#92BFBF</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Javascript - Green</string>
<key>scope</key>
<string>constant.language.boolean.true.js, constant.language.boolean.false.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#B4D388</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Javascript - Orange</string>
<key>scope</key>
<string>meta.group.braces.curly meta.property.class.js variable.other.property.static.js, constant.language.boolean.false.js, source.js meta.group.braces.round meta.function-call.method.with-arguments.js variable.function.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#F49D62</string>
</dict>
</dict>

<!-- Handlebars -->
<dict>
<key>name</key>
<string>Handlebars Text</string>
<key>scope</key>
<string>text.html.handlebars, variable.other.dollar.js, variable.other.readwrite.js, meta.property.object.js, constant.other.object.key.js, constant.other.object.key.js string.unquoted.label.js, variable.parameter.function.js</string>
<string>text.html.handlebars</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand Down Expand Up @@ -167,7 +240,7 @@ COLOR KEY
<key>name</key>
<string>Keyword</string>
<key>scope</key>
<string>keyword, meta.brace.round.js, meta.brace.square.js</string>
<string>keyword</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand Down

0 comments on commit 43e9852

Please sign in to comment.