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

@@ -21,7 +21,9 @@ color type "\b(basestring|bool|buffer|bytearray|bytes|classmethod|complex|dict|e
## definitions
color identifier "def [a-zA-Z_0-9]+"
## keywords
color statement "\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\b"
color preproc "\b(import)\b"
color statement "\b(and|as|assert|class|def|del|elif|else|except|finally|for|from|global|if|in|is|lambda|not|or|pass|print|raise|try|while|with|yield)\b"
color special "\b(break|continue|return)\b"
## decorators
color special "@.*[(]"
@@ -44,3 +46,6 @@ color comment "#.*$"
## block brightblacks
color comment start=""""([^"]|$)" end="""""
color comment start="'''([^']|$)" end="'''"
## Shebang
color preproc.shebang "^#!.+?( |$)"