Last active
March 8, 2016 16:22
-
-
Save CTimmerman/5348e42f5f2644d0528b to your computer and use it in GitHub Desktop.
Notepad++ highlighting for CoffeeScript. Line comments still override block comments, though, even after changing the Keywords name=Comments value.
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
<NotepadPlus> | |
<UserLang name="CoffeeScript" ext="coffee" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">03### 04### 00# 01 02</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> | |
<Keywords name="Numbers, extras1"></Keywords> | |
<Keywords name="Numbers, extras2"></Keywords> | |
<Keywords name="Numbers, suffix1"></Keywords> | |
<Keywords name="Numbers, suffix2"></Keywords> | |
<Keywords name="Numbers, range"></Keywords> | |
<Keywords name="Operators1">-> => = == , ( ) [ ] { : } @ ... & | + - * / % !</Keywords> | |
<Keywords name="Operators2"></Keywords> | |
<Keywords name="Folders in code1, open"></Keywords> | |
<Keywords name="Folders in code1, middle"></Keywords> | |
<Keywords name="Folders in code1, close"></Keywords> | |
<Keywords name="Folders in code2, open"></Keywords> | |
<Keywords name="Folders in code2, middle"></Keywords> | |
<Keywords name="Folders in code2, close"></Keywords> | |
<Keywords name="Folders in comment, open"></Keywords> | |
<Keywords name="Folders in comment, middle"></Keywords> | |
<Keywords name="Folders in comment, close"></Keywords> | |
<Keywords name="Keywords1">true false null this 
new delete typeof in instanceof 
return throw break continue debugger yield 
if else switch for while do try catch finally
class extends super</Keywords> | |
<Keywords name="Keywords2">and or is isnt not yes no on off</Keywords> | |
<Keywords name="Keywords3">case case default function var void with const let enum
export import native implements interface package private
protected public static</Keywords> | |
<Keywords name="Keywords4">this console Meteor Template Router</Keywords> | |
<Keywords name="Keywords5"></Keywords> | |
<Keywords name="Keywords6"></Keywords> | |
<Keywords name="Keywords7"></Keywords> | |
<Keywords name="Keywords8"></Keywords> | |
<Keywords name="Delimiters">00" 01 02" 03' 04 05' 06""" 07 08""" 09''' 10 11''' 12#{ 13 14} 15 16 17 18 19 20 21 22 23</Keywords> | |
</KeywordLists> | |
<Styles> | |
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="NUMBERS" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS2" fgColor="800080" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS3" fgColor="FF0000" bgColor="FFFFFF" fontStyle="3" nesting="0" /> | |
<WordsStyle name="KEYWORDS4" fgColor="FF8000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="OPERATORS" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS1" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="16" /> | |
<WordsStyle name="DELIMITERS2" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="16" /> | |
<WordsStyle name="DELIMITERS3" fgColor="FF8000" bgColor="FFFFFF" fontStyle="0" nesting="16" /> | |
<WordsStyle name="DELIMITERS4" fgColor="FF8000" bgColor="FFFFFF" fontStyle="0" nesting="16" /> | |
<WordsStyle name="DELIMITERS5" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS6" fgColor="FF0080" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> | |
</Styles> | |
</UserLang> | |
</NotepadPlus> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With help from http://coffeescript.org/documentation/docs/lexer.html