feat(js): format template strings

This commit is contained in:
Gareth Jones 2020-04-16 12:33:49 +12:00 committed by GitHub
parent c58f276f3b
commit c82f8da661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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:]]+$"