diff --git a/crates/zed/src/languages/javascript/highlights.scm b/crates/zed/src/languages/javascript/highlights.scm index 21af8b03c4647bb63b4fd6153988efc2d64e5075..9dc3af4eaea8a24d159acd1db120f5c06aa49915 100644 --- a/crates/zed/src/languages/javascript/highlights.scm +++ b/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 diff --git a/crates/zed/src/languages/typescript/highlights.scm b/crates/zed/src/languages/typescript/highlights.scm index 5c459fba9e75d2484b8fbdc4643c0df1cb928292..4b744c3a8062601c6bf16410d5f0f7805d8e408f 100644 --- a/crates/zed/src/languages/typescript/highlights.scm +++ b/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