-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding initial support for CoffeeScript file syntax highlighting.
I started off with the .js code and removed a lot of the JS basic function definitions, took away the function keyword. Added single and multiline commenting. Added keywords class and extends.
- Loading branch information
David Sowsy
authored and
David Sowsy
committed
Sep 28, 2011
1 parent
eee26a5
commit a0fcc7d
Showing
2 changed files
with
104 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>functionDefinition</key> | ||
<string>^\s*function\s+.*\n?\s*\{</string> | ||
<key>beginVariable</key> | ||
<string></string> | ||
<key>endInstruction</key> | ||
<string></string> | ||
<key>firstString</key> | ||
<string>"</string> | ||
<key>firstSingleLineComment</key> | ||
<string>#</string> | ||
<key>keywordsCaseSensitive</key> | ||
<false/> | ||
<key>secondSingleLineComment</key> | ||
<string></string> | ||
<key>secondString</key> | ||
<string>'</string> | ||
<key>endCommand</key> | ||
<string></string> | ||
<key>beginCommand</key> | ||
<string></string> | ||
<key>keywords</key> | ||
<array> | ||
<string>if</string> | ||
<string>else</string> | ||
<string>for</string> | ||
<string>in</string> | ||
<string>while</string> | ||
<string>do</string> | ||
<string>continue</string> | ||
<string>break</string> | ||
<string>with</string> | ||
<string>try</string> | ||
<string>catch</string> | ||
<string>switch</string> | ||
<string>case</string> | ||
<string>new</string> | ||
<string>var</string> | ||
<string>return</string> | ||
<string>delete</string> | ||
<string>true</string> | ||
<string>false</string> | ||
<string>void</string> | ||
<string>throw</string> | ||
<string>typeof</string> | ||
<string>const</string> | ||
<string>default</string> | ||
<string>escape</string> | ||
<string>Number</string> | ||
<string>window</string> | ||
<string>this</string> | ||
<string>call</string> | ||
<string>caller</string> | ||
<string>class</string> | ||
<string>=></string> | ||
<string>@</string> | ||
<string>-></string> | ||
<string>extends</string> | ||
</array> | ||
<key>endSecondMultiLineComment</key> | ||
<string></string> | ||
<key>endVariable</key> | ||
<string></string> | ||
<key>removeFromFunction</key> | ||
<string>function </string> | ||
<key>beginSecondMultiLineComment</key> | ||
<string></string> | ||
<key>beginFirstMultiLineComment</key> | ||
<string>###</string> | ||
<key>beginInstruction</key> | ||
<string></string> | ||
<key>endFirstMultiLineComment</key> | ||
<string>###</string> | ||
<key>recolourKeywordIfAlreadyColoured</key> | ||
<true/> | ||
<key>autocompleteWords</key> | ||
<array/> | ||
<key>class</key> | ||
<string>class</string> | ||
</dict> | ||
</plist> |