From 9f676dab57e6421dd4c33a7ccf16e12cfb9b62cf Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 19 Jun 2022 21:36:33 -0500 Subject: add test textobjects queries for erlang,gleam,go,python,rust --- runtime/queries/gleam/textobjects.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/queries/gleam/textobjects.scm') 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$")) -- cgit v1.2.3-70-g09d2