Add syntax flags and fix a couple highlighting bugs

This commit is contained in:
Zachary Yedidia
2016-03-21 14:48:17 -04:00
parent 96254717c6
commit b8f6850c58
50 changed files with 204 additions and 185 deletions

View File

@@ -3,7 +3,7 @@
## Old version
#syntax "JavaScript" "(\.|/|)js$"
#color green "//.*$" "(?s)\/\*.*?\*\/"
#color green "//.*$" (s) "\/\*.*?\*\/"
#color blue "'(\\.|[^'])*'"
#color red ""(\\.|[^\"])*""
#color brightgreen "\b(true)\b"
@@ -42,5 +42,6 @@ color brightyellow "L?'(\'|[^'])*'"
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
## Comments
color brightblue "(?s)/\*.*?\*/"
color brightblue (s) "/\*.*?\*/"
color brightblue "//.*$"