From 81f3c2f9bd5d488ecfb9deceecf19bf2a17a7c9d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 5 Sep 2020 12:57:57 -0700 Subject: [PATCH] Add tilde-strings to javascript tmlanguage. --- voussoir/JavaScript.tmLanguage | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/voussoir/JavaScript.tmLanguage b/voussoir/JavaScript.tmLanguage index e4bb3bc..66e66e6 100644 --- a/voussoir/JavaScript.tmLanguage +++ b/voussoir/JavaScript.tmLanguage @@ -439,6 +439,39 @@ + + begin + ` + beginCaptures + + 0 + + name + punctuation.definition.string.begin.js + + + end + ` + endCaptures + + 0 + + name + punctuation.definition.string.end.js + + + name + string.quoted.interpolated.js + patterns + + + match + \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.) + name + constant.character.escape.js + + + begin "