Skip to content

Commit

Permalink
adding anonymous class highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Jul 28, 2010
1 parent ad36462 commit fd2cce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/CoffeeScript.tmLanguage
Expand Up @@ -335,7 +335,7 @@
</dict>
</dict>
<key>match</key>
<string>(class)\s+([a-zA-Z\$_]\w+)(\s+(extends)\s+[a-zA-Z\$_]\w*)?</string>
<string>(class)(\s+[a-zA-Z\$_]\w+)?(\s+(extends)\s+[a-zA-Z\$_]\w*)?</string>
<key>name</key>
<string>meta.class.coffee</string>
</dict>
Expand All @@ -347,7 +347,7 @@
</dict>
<dict>
<key>match</key>
<string>!|%|&amp;|\*|\/|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|&lt;=|&gt;=|&lt;&lt;=|&gt;&gt;=|&gt;&gt;&gt;=|&lt;&gt;|&lt;|&gt;|!|&amp;&amp;|\?|\||\|\||\:|\*=|(?&lt;!\()/=|%=|\+=|\-=|&amp;=|\^=|\b(instanceof|new|delete|typeof|and|or|is|isnt|not|and=|or=)\b</string>
<string>and=|or=|!|%|&amp;|\*|\/|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|&lt;=|&gt;=|&lt;&lt;=|&gt;&gt;=|&gt;&gt;&gt;=|&lt;&gt;|&lt;|&gt;|!|&amp;&amp;|\?|\||\|\||\:|\*=|(?&lt;!\()/=|%=|\+=|\-=|&amp;=|\^=|\b(instanceof|new|delete|typeof|and|or|is|isnt|not)\b</string>
<key>name</key>
<string>keyword.operator.coffee</string>
</dict>
Expand Down

0 comments on commit fd2cce2

Please sign in to comment.