Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CoffeeScript.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,32 @@
<key>name</key>
<string>variable.language.coffee</string>
</dict>
<!-- Syntax highlighting for classes with inheritance, but without names -->
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.class.coffee</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>keyword.control.inheritance.coffee</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>entity.other.inherited-class.coffee</string>
</dict>
</dict>
<key>match</key>
<string>(class\b)\s+(extends)\s+(@?[a-zA-Z\$\._][\w\.]*)?</string>
<key>name</key>
<string>meta.unnamed_class.coffee</string>
</dict>
<!-- Syntax highlighting for classes with names -->
<dict>
<key>captures</key>
<dict>
Expand Down