2
0
Fork 0
nano-syntax-archived/coffeescript.nanorc
2015-05-02 23:15:14 -06:00

16 lines
721 B
Text

syntax "coffeescript" "\.coffee$"
color red "[!&|=/*+-<>]|\<(and|or|is|isnt|not)\>"
color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
color black "[()]"
color brightblack "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
color brightblack "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
color brightblack "\<(debugger|switch|while|do|class|extends|super)\>"
color brightblack "\<(undefined|then|unless|until|loop|of|by|when)\>"
color brightcyan "\<(true|false|yes|no|on|off)\>"
color brightyellow "@[A-Za-z0-9_]*"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color cyan "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT