diff options
author | Blaž Hrastnik | 2022-06-21 16:38:21 +0000 |
---|---|---|
committer | GitHub | 2022-06-21 16:38:21 +0000 |
commit | 458b89e21dcf76bbf9ca6ba237bd334f4922722d (patch) | |
tree | f859642d007db7274d3cd657ecaa59b1ec014cd8 /runtime/queries/go | |
parent | 5f7c247430998fabceb55d4689118dd75e2bdfb1 (diff) | |
parent | 6a3f7f2c399f0b92cef97b0c85ebe976fd7cfcac (diff) |
Merge branch 'master' into test-harness
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")) |