From 3dcd01f8b830329372f1e17d46c78465f3e26a93 Mon Sep 17 00:00:00 2001 From: Mishanya <52209083+Mishanya644@users.noreply.github.com> Date: Mon, 22 Aug 2022 09:52:47 +0300 Subject: [PATCH] Add template literal string highlighting to typescript (#2525) --- runtime/syntax/typescript.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/runtime/syntax/typescript.yaml b/runtime/syntax/typescript.yaml index d3c84f39..a39fcc67 100644 --- a/runtime/syntax/typescript.yaml +++ b/runtime/syntax/typescript.yaml @@ -41,4 +41,9 @@ rules: skip: "\\\\." rules: - constant.specialChar: "\\\\." - + - constant.string: + start: "`" + end: "`" + rules: + - constant.specialChar: "\\\\." + - identifier: "\\x24\\{.*?\\}"