mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 10:50:26 +01:00
Merge pull request #152 from MakeNowJust/es6-template-string
Add support for ES6 template literal
This commit is contained in:
commit
fc08bf270a
|
@ -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 " + +| + +"
|
||||
|
|
Loading…
Reference in New Issue
Block a user