Skip to content

Commit

Permalink
Update ecma query, fix #374
Browse files Browse the repository at this point in the history
  • Loading branch information
andymass authored Dec 15, 2024
1 parent 5fb083d commit 3ed08b0
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 @@ -5,7 +5,7 @@
(arrow_function "=>" @open.function)
(function_expression "function" @open.function)
(function_declaration "function" @open.function)
(method_definition body: (statement_block "{" @open.function))
(method_definition body: (statement_block "{" @open.function "}" @close.function))
] @scope.function

(return_statement "return" @mid.function.1)
Expand Down

0 comments on commit 3ed08b0

Please sign in to comment.