aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gleam
diff options
context:
space:
mode:
authorMichael Davis2022-06-20 02:36:33 +0000
committerMichael Davis2022-06-21 16:32:03 +0000
commit9f676dab57e6421dd4c33a7ccf16e12cfb9b62cf (patch)
tree10555a5cbc5dc3b6af56fcc00c05307bb3e1b780 /runtime/queries/gleam
parent67f6c85792dbdbe0ff3f9328874c7ab23ff5569b (diff)
add test textobjects queries for erlang,gleam,go,python,rust
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$"))