mirror of
https://github.com/scopatz/nanorc
synced 2025-04-08 06:40:06 +02: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…
x
Reference in New Issue
Block a user