From ad3fff659d84f2626b1243b989a9a69fa72aec63 Mon Sep 17 00:00:00 2001 From: Ville Pulkkinen Date: Thu, 31 Jul 2014 13:57:13 +0300 Subject: [PATCH] Fixed a problem where path with stars was mixed up with a comment within a text delimiter characters --- javascript.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 " +"