summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/ecma/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm
index d3e986a1..a1034a62 100644
--- a/queries/ecma/highlights.scm
+++ b/queries/ecma/highlights.scm
@@ -179,9 +179,9 @@
"{" @punctuation.bracket
"}" @punctuation.bracket
-(template_substitution
- "${" @punctuation.special
- "}" @punctuation.special) @none
+((template_substitution ["${" "}"] @punctuation.special) @none
+ ; Substitutions should have a higher priority than injections.
+ (#set! "priority" 105))
; Keywords
;----------