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:
CaptainMcClellan
2017-03-03 10:47:03 -06:00
committed by Zachary Yedidia
parent ab74e56a40
commit d949b58fc0
55 changed files with 311 additions and 133 deletions

View File

@@ -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"