diff --git a/javascript.nanorc b/javascript.nanorc index 4b6a46e..9a23f1e 100644 --- a/javascript.nanorc +++ b/javascript.nanorc @@ -17,6 +17,6 @@ color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" color brightblack "(^|[[:space:]])//.*" color brightblack "/\*.+\*/" color brightwhite,cyan "TODO:?" -color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" +color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)" color ,green "[[:space:]]+$" color ,red " + +| + +"