aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gleam
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/gleam')
-rw-r--r--runtime/queries/gleam/textobjects.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/gleam/textobjects.scm b/runtime/queries/gleam/textobjects.scm
index b382f4bd..19cd0dcf 100644
--- a/runtime/queries/gleam/textobjects.scm
+++ b/runtime/queries/gleam/textobjects.scm
@@ -4,3 +4,8 @@
(anonymous_function
body: (function_body) @function.inside) @function.around
+
+((function
+ name: (identifier) @_name
+ body: (function_body) @test.inside) @test.around
+ (#match? @_name "_test$"))