Fix order of `template_substitution` in highlights.scm

Nate Butler created

Change summary

crates/zed/src/languages/javascript/highlights.scm | 8 ++++----
crates/zed/src/languages/typescript/highlights.scm | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)

Detailed changes

crates/zed/src/languages/javascript/highlights.scm 🔗

@@ -80,10 +80,6 @@
 
 ; Tokens
 
-(template_substitution
-  "${" @punctuation.special
-  "}" @punctuation.special) @embedded
-
 [
   ";"
   "?."
@@ -192,6 +188,10 @@
   "yield"
 ] @keyword
 
+(template_substitution
+  "${" @punctuation.special
+  "}" @punctuation.special) @embedded
+
 ; Types
 
 (type_identifier) @type

crates/zed/src/languages/typescript/highlights.scm 🔗

@@ -80,10 +80,6 @@
 
 ; Tokens
 
-(template_substitution
-  "${" @punctuation.special
-  "}" @punctuation.special) @embedded
-
 [
   ";"
   "?."
@@ -193,6 +189,10 @@
   "yield"
 ] @keyword
 
+(template_substitution
+  "${" @punctuation.special
+  "}" @punctuation.special) @embedded
+
 ; Types
 
 (type_identifier) @type