syntax: lua: require at least one digit for hexadecimal numbers
Since a "0x" by itself is invalid. Also add word boundaries, so that
e.g. "00x1" (which is invalid) does not get partial highlighting.
Also remove some redundant backslashes from the strings regex.
Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
Showing
+2 -2
Please register or sign in to comment