mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Merge pull request #302 from G-Rath/patch-5
feat(js): format template strings
This commit is contained in:
commit
5488e5f746
|
@ -42,6 +42,8 @@ color red "\<(true|false)\>"
|
||||||
## String
|
## String
|
||||||
color brightyellow "L?\"(\\"|[^"])*\""
|
color brightyellow "L?\"(\\"|[^"])*\""
|
||||||
color brightyellow "L?'(\'|[^'])*'"
|
color brightyellow "L?'(\'|[^'])*'"
|
||||||
|
color brightcyan "L?`(\`|[^`])*`"
|
||||||
|
color brightwhite,blue start="\$\{" end="\}"
|
||||||
|
|
||||||
## Trailing spaces
|
## Trailing spaces
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user