mirror of
https://github.com/scopatz/nanorc
synced 2024-12-03 14:55:53 +01:00
Add support for ES6 template literal
This commit is contained in:
parent
680dd50c7f
commit
dc26b2f6dd
|
@ -17,6 +17,6 @@ color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
||||||
color brightblack "(^|[[:space:]])//.*"
|
color brightblack "(^|[[:space:]])//.*"
|
||||||
color brightblack "/\*.+\*/"
|
color brightblack "/\*.+\*/"
|
||||||
color brightwhite,cyan "TODO:?"
|
color brightwhite,cyan "TODO:?"
|
||||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
color ,red " + +| + +"
|
color ,red " + +| + +"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user