mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 06:17:12 +09:00
Update syntax files
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
syntax "CoffeeScript" "\.coffee$"
|
||||
header "^#!.*/(env +)?coffee"
|
||||
|
||||
color red "[!&|=/*+-<>]|\b(and|or|is|isnt|not)\b"
|
||||
color red "[!&|=/*+-<>]|\<(and|or|is|isnt|not)\>"
|
||||
color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
|
||||
color brightblue "[()]"
|
||||
color cyan "\b(for|of|continue|break|isnt|null|unless|this|else|if|return)\b"
|
||||
color cyan "\b(try|catch|finally|throw|new|delete|typeof|in|instanceof)\b"
|
||||
color cyan "\b(debugger|switch|while|do|class|extends|super)\b"
|
||||
color cyan "\b(undefined|then|unless|until|loop|of|by|when)\b"
|
||||
color brightcyan "\b(true|false|yes|no|on|off)\b"
|
||||
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)\>"
|
||||
color brightcyan "\<(true|false|yes|no|on|off)\>"
|
||||
color brightyellow "@[A-Za-z0-9_]*"
|
||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
||||
|
||||
Reference in New Issue
Block a user