diff options
author | Michael Davis | 2022-06-20 02:36:33 +0000 |
---|---|---|
committer | Michael Davis | 2022-06-21 16:32:03 +0000 |
commit | 9f676dab57e6421dd4c33a7ccf16e12cfb9b62cf (patch) | |
tree | 10555a5cbc5dc3b6af56fcc00c05307bb3e1b780 /runtime/queries/go | |
parent | 67f6c85792dbdbe0ff3f9328874c7ab23ff5569b (diff) |
add test textobjects queries for erlang,gleam,go,python,rust
Diffstat (limited to 'runtime/queries/go')
-rw-r--r-- | runtime/queries/go/textobjects.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/go/textobjects.scm b/runtime/queries/go/textobjects.scm index a48ccce1..df1b0866 100644 --- a/runtime/queries/go/textobjects.scm +++ b/runtime/queries/go/textobjects.scm @@ -26,3 +26,8 @@ (comment) @comment.inside (comment)+ @comment.around + +((function_declaration + name: (identifier) @_name + body: (block)? @test.inside) @test.around + (#match? @_name "^Test")) |