Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiterden <efremov.a.denis@gmail.com>2017-01-21 04:53:25 +0300
committerPiterden <efremov.a.denis@gmail.com>2017-01-21 04:53:25 +0300
commitf8139835d6a81cc8fc7796d35a50c6e57ea43c30 (patch)
treee40781eb75b5c6f1dec2090fd9447c7cfaa165e5
parent96b9068b641c353ec57b494496bd5cc0b01cdeac (diff)
Added ES6 back-tick support.
-rw-r--r--js.nanorc2
1 files changed, 2 insertions, 0 deletions
diff --git a/js.nanorc b/js.nanorc
index 20321de..08460de 100644
--- a/js.nanorc
+++ b/js.nanorc
@@ -23,6 +23,8 @@ color red "\<(true|false)\>"
## String
color brightyellow "L?\"(\\"|[^"])*\""
color brightyellow "L?'(\'|[^'])*'"
+color brightcyan "L?`(\`|[^`])*`"
+color ,magenta "\$\{(.+)\}"
## Escapes
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"