diff --git a/javascript.nanorc b/javascript.nanorc index 5b0e8be..fa2d6c5 100644 --- a/javascript.nanorc +++ b/javascript.nanorc @@ -14,10 +14,10 @@ color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>" color green "\<(Number|Object|RegExp|String)\>" color red "[-+/*=<>!~%?:&|]" color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*" -color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" color brightblack "(^|[[:space:]])//.*" -color brightblack start="/\*" end="\*/" +color brightblack "/\*.+\*/" color brightwhite,cyan "TODO:?" +color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" color ,green "[[:space:]]+$" color ,red " +"