From dc26b2f6dda96b46666e5b2d0439dee4a15f69c9 Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune Date: Fri, 30 Jun 2017 16:30:16 +0900 Subject: [PATCH] Add support for ES6 template literal --- javascript.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " + +| + +"