diff --git a/syntax/javascript.nanorc b/syntax/javascript.nanorc index 1fe75516..8db559a7 100644 --- a/syntax/javascript.nanorc +++ b/syntax/javascript.nanorc @@ -13,6 +13,8 @@ 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)\>" # Strings. color brightmagenta ""(\\.|[^"])*"" "'(\\.|[^'])*'" "`(\\.|[^`])*`"