Skip to content

Commit

Permalink
fix(ecma): function -> function_expression (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Feb 2, 2024
1 parent e2cca17 commit 7f81ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after/queries/ecma/matchup.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; functions
[
(arrow_function "=>" @open.function)
(function "function" @open.function)
(function_expression "function" @open.function)
(function_declaration "function" @open.function)
(method_definition body: (statement_block "{" @open.function))
] @scope.function
Expand Down

0 comments on commit 7f81ae1

Please sign in to comment.