diff --git a/queries/rescript/highlights.scm b/queries/rescript/highlights.scm index a1b9ea9..6950285 100644 --- a/queries/rescript/highlights.scm +++ b/queries/rescript/highlights.scm @@ -60,9 +60,6 @@ (template_string) ] @string -(template_substitution - "${" @punctuation.special - "}" @punctuation.special) @embedded (character) @character (escape_sequence) @string.escape @@ -245,6 +242,10 @@ "]" ] @punctuation.bracket +(template_substitution + "${" @punctuation.special + "}" @punctuation.special) @embedded + (polyvar_type [ "["