Skip to content

Commit

Permalink
correctly highlight hash_pair
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Mar 19, 2024
1 parent 507d35c commit 6ef5b52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion runtime/queries/glimmer/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@
((helper_invocation helper: (identifier) @keyword.control.conditional)
(#match? @keyword.control.conditional "yield"))

(hash_pair key: (identifier) @variable.parameter)
(hash_pair key: (identifier) @variable)
(hash_pair value: (identifier) @variable)
(hash_pair [
(path_expression (identifier) @variable)
(identifier) @variable
])

(comment_statement) @comment

Expand Down

0 comments on commit 6ef5b52

Please sign in to comment.