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:43:01 +0300
committerPiterden <efremov.a.denis@gmail.com>2017-01-21 04:43:01 +0300
commitc11dcd3f3ed57ce40495d51e46e21ae1d51154be (patch)
treef1fd8da0fdb12f8c5da0a6e0238ffeb65c971a78 /js.nanorc
parent96b9068b641c353ec57b494496bd5cc0b01cdeac (diff)
Fixed js grave quotes support (back-tick)
Diffstat (limited to 'js.nanorc')
-rw-r--r--js.nanorc2
1 files changed, 2 insertions, 0 deletions
diff --git a/js.nanorc b/js.nanorc
index 20321de..c0d6a8d 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 brightmagenta "\$\{(.+)\}"
## Escapes
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"