highlight '$' identifiers

This commit is contained in:
Alex Leferry 2 2014-07-11 01:38:24 +02:00
parent 7a080ffb41
commit fdfb65194c

View File

@ -27,6 +27,7 @@ addhl -group /javascript/single_string fill string
addhl -group /javascript/regex fill macro
addhl -group /javascript/comment fill comment
addhl -group /javascript/code regex \$\w* 0:identifier
addhl -group /javascript/code regex \<(document|false|null|parent|self|this|true|undefined|window)\> 0:value
addhl -group /javascript/code regex \<(Array|Boolean|Date|Function|Number|Object|RegExp|String)\> 0:type