mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 22:52:51 +09:00
Legacy syntax overhaul 2 (#577)
* Added title setting (Requires tcell pull!) and optimized tab display. * Added Clojure highlighting. * Changed tcell call to screen. * Fixed bad reference for getting Buffer name. * Yet another massive syntax overhaul * Tweaking and testing web syntax * More webdev goodies * Added html5 highlighting and strict html4 highlighting. * Documentation update
This commit is contained in:
committed by
Zachary Yedidia
parent
ab74e56a40
commit
d949b58fc0
@@ -1,7 +1,7 @@
|
||||
syntax "coffeescript" "\.coffee$"
|
||||
header "^#!.*/(env +)?coffee"
|
||||
|
||||
color symbol.operator "[!&|=/*+-<>]|\b(and|or|is|isnt|not)\b"
|
||||
color symbol.operator "[!&|=/*+\-<>]|\b(and|or|is|isnt|not)\b"
|
||||
color identifier.class "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
|
||||
color symbol.brackets "[()]"
|
||||
color statement "\b(for|of|continue|break|isnt|null|unless|this|else|if|return)\b"
|
||||
@@ -14,3 +14,4 @@ color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color comment "(^|[[:space:]])#([^{].*)?$"
|
||||
color indent-char.whitespace "[[:space:]]+$"
|
||||
color indent-char " + +| + +"
|
||||
color preproc.shebang "#!.+$"
|
||||
|
||||
Reference in New Issue
Block a user