1
1

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

Original-patch-by: Ryan Westlund <rlwestlund@gmail.com>
Этот коммит содержится в:
Benno Schulenberg 2019-11-03 19:49:22 +02:00
родитель 9151abcd45
Коммит 75dd9bee38

Просмотреть файл

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