mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-06 21:00:19 +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,12 +1,12 @@
|
||||
syntax "awk" "\.awk$"
|
||||
header "^#!.*bin/(env +)?awk( |$)"
|
||||
|
||||
color preproc "\$[A-Za-z0-9_!@#$*?-]+"
|
||||
color preproc "\$[A-Za-z0-9_!@#$*?\-]+"
|
||||
color preproc "\b(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\b"
|
||||
color preproc "\b(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\b"
|
||||
color preproc "\b(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\b"
|
||||
color identifier.class "\b(function|extension|BEGIN|END)\b"
|
||||
color symbol.operator "[-+*/%^|!=&<>?;:]|\\|\[|\]"
|
||||
color symbol.operator "[\-+*/%^|!=&<>?;:]|\\|\[|\]"
|
||||
color statement "\b(for|if|while|do|else|in|delete|exit)\b"
|
||||
color special "\b(break|continue|return)\b"
|
||||
color statement "\b(close|getline|next|nextfile|print|printf|system|fflush)\b"
|
||||
|
||||
Reference in New Issue
Block a user