nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 75dd9bee386f3291d9c4bd0f18f9887581c3322f
parent 9151abcd4530fe15e9307b37132fa454127d6b4e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  3 Nov 2019 19:49:22 +0200

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

Original-patch-by: Ryan Westlund <rlwestlund@gmail.com>

Diffstat:
Msyntax/javascript.nanorc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/javascript.nanorc b/syntax/javascript.nanorc @@ -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 ""(\\.|[^"])*"" "'(\\.|[^'])*'" "`(\\.|[^`])*`"