]> git.lizzy.rs Git - micro.git/commitdiff
Add template literal string highlighting to typescript (#2525)
authorMishanya <52209083+Mishanya644@users.noreply.github.com>
Mon, 22 Aug 2022 06:52:47 +0000 (09:52 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2022 06:52:47 +0000 (23:52 -0700)
runtime/syntax/typescript.yaml

index d3c84f39eb1f8d3fbd864a5ce25a8293150d294d..a39fcc67c412e372a12f3de512e2872037f09e95 100644 (file)
@@ -41,4 +41,9 @@ rules:
         skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
-    
+    - constant.string:
+        start: "`"
+        end: "`"
+        rules:
+            - constant.specialChar: "\\\\."
+            - identifier: "\\x24\\{.*?\\}"