Merge pull request #302 from G-Rath/patch-5

feat(js): format template strings
This commit is contained in:
Anthony Scopatz
2020-04-15 20:03:40 -05:00
committed by GitHub
+2
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:]]+$"