1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-27 02:45:39 +01:00

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

View File

@ -42,6 +42,8 @@ color red "\<(true|false)\>"
## String
color brightyellow "L?\"(\\"|[^"])*\""
color brightyellow "L?'(\'|[^'])*'"
color brightcyan "L?`(\`|[^`])*`"
color brightwhite,blue start="\$\{" end="\}"
## Trailing spaces
color ,green "[[:space:]]+$"