Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/gleam/textobjects.scm')
-rw-r--r--runtime/queries/gleam/textobjects.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/gleam/textobjects.scm b/runtime/queries/gleam/textobjects.scm
index bdbcfbb4..19cd0dcf 100644
--- a/runtime/queries/gleam/textobjects.scm
+++ b/runtime/queries/gleam/textobjects.scm
@@ -1,11 +1,11 @@
(function
parameters: (function_parameters (function_parameter)? @parameter.inside)
- body: (block) @function.inside) @function.around
+ body: (function_body) @function.inside) @function.around
(anonymous_function
- body: (block) @function.inside) @function.around
+ body: (function_body) @function.inside) @function.around
((function
name: (identifier) @_name
- body: (block) @test.inside) @test.around
+ body: (function_body) @test.inside) @test.around
(#match? @_name "_test$"))