aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/zig/textobjects.scm
diff options
context:
space:
mode:
authorvoroskoi2023-08-02 19:22:28 +0000
committerGitHub2023-08-02 19:22:28 +0000
commitbc737404e8ad462b4101987730f4a76658d132ad (patch)
treea4d58df23ab8a85c286b2f5a08bab0bcc43939d8 /runtime/queries/zig/textobjects.scm
parent325692a154b4190fe75c964c5704d54924165f0e (diff)
Update tree-sitter-zig (#7803)
Diffstat (limited to 'runtime/queries/zig/textobjects.scm')
-rw-r--r--runtime/queries/zig/textobjects.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/zig/textobjects.scm b/runtime/queries/zig/textobjects.scm
index 67528943..5c4ebd86 100644
--- a/runtime/queries/zig/textobjects.scm
+++ b/runtime/queries/zig/textobjects.scm
@@ -1,4 +1,4 @@
-(TopLevelDecl (FnProto)
+(Decl (FnProto)
(_) @function.inside) @function.around
(TestDecl (_) @test.inside) @test.around
@@ -6,10 +6,10 @@
; matches all of: struct, enum, union
; this unfortunately cannot be split up because
; of the way struct "container" types are defined
-(TopLevelDecl (VarDecl (ErrorUnionExpr (SuffixExpr (ContainerDecl
+(Decl (VarDecl (ErrorUnionExpr (SuffixExpr (ContainerDecl
(_) @class.inside))))) @class.around
-(TopLevelDecl (VarDecl (ErrorUnionExpr (SuffixExpr (ErrorSetDecl
+(Decl (VarDecl (ErrorUnionExpr (SuffixExpr (ErrorSetDecl
(_) @class.inside))))) @class.around
(ParamDeclList