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:
authorserialhex <serialhex@gmail.com>2017-01-24 17:17:55 +0300
committerGitHub <noreply@github.com>2017-01-24 17:17:55 +0300
commit936d8889393d0e90e568ba2983723c1ad8f9db67 (patch)
treec211ba3d429f80f5485ab7fdc5f75d20f03c926c
parent6d67b7a30d859aa73a9dcb0eca4981abdf18bd87 (diff)
parentf8139835d6a81cc8fc7796d35a50c6e57ea43c30 (diff)
Merge pull request #32 from Piterden/master
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'"\?\\]"