Add tilde-strings to javascript tmlanguage.

This commit is contained in:
Ethan Dalool 2020-09-05 12:57:57 -07:00
parent e380491d87
commit 81f3c2f9bd

View file

@ -439,6 +439,39 @@
</dict> </dict>
</array> </array>
</dict> </dict>
<dict>
<key>begin</key>
<string>`</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.js</string>
</dict>
</dict>
<key>end</key>
<string>`</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.js</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.interpolated.js</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)</string>
<key>name</key>
<string>constant.character.escape.js</string>
</dict>
</array>
</dict>
<dict> <dict>
<key>begin</key> <key>begin</key>
<string>"</string> <string>"</string>