Skip to content

Commit

Permalink
Fix highlight of variables in string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilios1995 committed May 27, 2024
1 parent 602e771 commit 5f249e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion queries/rescript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
((value_identifier) @constant.macro
(#match? @constant.macro "^\\.*$"))


((value_identifier) @variable)

[
(type_identifier)
(unit_type)
Expand Down Expand Up @@ -248,7 +251,7 @@

(template_substitution
"${" @punctuation.special
"}" @punctuation.special) @embedded
"}" @punctuation.special) @none

(polyvar_type
[
Expand Down

0 comments on commit 5f249e1

Please sign in to comment.