syntax: javascript: colorize the boolean values 'true' and 'false' too

Original-patch-by: Ryan Westlund <rlwestlund@gmail.com>
This commit is contained in:
Benno Schulenberg 2019-11-03 19:49:22 +02:00
parent 9151abcd45
commit 75dd9bee38
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ color magenta "\<(break|continue|return|yield)\>"
# Octal/decimal and hexadecimal numbers.
color cyan "\<[0-9]+\>" "\<0x[0-9A-Fa-f]+\>"
# Special values.
color cyan "\<(null|undefined)\>"
color cyan "\<(true|false|null|undefined)\>"
# Strings.
color brightmagenta ""(\\.|[^"])*"" "'(\\.|[^'])*'" "`(\\.|[^`])*`"