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

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
commit 5488e5f746
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:]]+$"