2016-03-02 20:49:58 +01:00
|
|
|
syntax "CoffeeScript" "\.coffee$"
|
2013-06-02 12:48:33 +02:00
|
|
|
header "^#!.*/(env +)?coffee"
|
|
|
|
|
2016-07-17 12:49:28 +02:00
|
|
|
color red "[!&|=\/*+\-\<\>]|\<(and|or|is|isnt|not)\>"
|
2018-08-09 10:09:19 +02:00
|
|
|
color blue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
|
|
|
|
color blue "[()]"
|
2013-06-02 12:48:33 +02:00
|
|
|
color cyan "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
|
|
|
|
color cyan "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
|
|
|
|
color cyan "\<(debugger|switch|while|do|class|extends|super)\>"
|
|
|
|
color cyan "\<(undefined|then|unless|until|loop|of|by|when)\>"
|
2018-08-09 10:09:19 +02:00
|
|
|
color cyan "\<(true|false|yes|no|on|off)\>"
|
|
|
|
color yellow "@[A-Za-z0-9_]*"
|
2013-06-02 12:48:33 +02:00
|
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
2018-08-09 10:09:19 +02:00
|
|
|
color black "(^|[[:space:]])#([^{].*)?$"
|
2013-06-02 12:48:33 +02:00
|
|
|
color ,green "[[:space:]]+$"
|
2015-10-24 11:52:47 +02:00
|
|
|
color ,red " + +| + +"
|