coffeescript.nanorc 719 B

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