Skip to content

Commit

Permalink
Merge pull request helix-editor#2 from kristoff-it/sticky-context
Browse files Browse the repository at this point in the history
add generators, switch statements and cases to ecma queries
  • Loading branch information
SoraTenshi authored Sep 23, 2023
2 parents c635f18 + 8e1206f commit 33ab2aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/queries/ecma/context.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
(formal_parameters) @context.params
) @context

(generator_function_declaration
(formal_parameters) @context.params
) @context

[
(call_expression)
(class_declaration)
Expand All @@ -21,5 +25,7 @@
(object)
(pair)
(while_statement)
(switch_statement)
(switch_case)
] @context

0 comments on commit 33ab2aa

Please sign in to comment.