Add basic support for integers and floats
This commit is contained in:
parent
7ba16e48cd
commit
83062065b8
|
@ -29,6 +29,7 @@ addhl -group /javascript/comment fill comment
|
||||||
|
|
||||||
addhl -group /javascript/code regex \$\w* 0:identifier
|
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 \<(document|false|null|parent|self|this|true|undefined|window)\> 0:value
|
||||||
|
addhl -group /javascript/code regex "-?[0-9]*\.?[0-9]+" 0:value
|
||||||
addhl -group /javascript/code regex \<(Array|Boolean|Date|Function|Number|Object|RegExp|String)\> 0:type
|
addhl -group /javascript/code regex \<(Array|Boolean|Date|Function|Number|Object|RegExp|String)\> 0:type
|
||||||
|
|
||||||
# Keywords are collected at
|
# Keywords are collected at
|
||||||
|
|
Loading…
Reference in New Issue
Block a user