on master help sign in
Update zig tree-sitter (#1501)
6bfd001voroskoi
helix-syntax/languages/tree-sitter-zig+1−1

Submodule changed.

runtime/queries/zig/highlights.scm+2−3
@@ -144,7 +144,6 @@ field_constant: (IDENTIFIER) @constant
144
144
145; VarDecl
145; VarDecl
146[
146[
147− "comptime"
148 "threadlocal"
147 "threadlocal"
149 "fn"
148 "fn"
150] @keyword.function
149] @keyword.function
@@ -178,6 +177,7 @@ field_constant: (IDENTIFIER) @constant
178
177
179; PrecProc
178; PrecProc
180[
179[
180+ "comptime"
181 "inline"
181 "inline"
182 "noinline"
182 "noinline"
183 "asm"
183 "asm"
@@ -195,15 +195,14 @@ field_constant: (IDENTIFIER) @constant
195 (BitwiseOp)
195 (BitwiseOp)
196 (BitShiftOp)
196 (BitShiftOp)
197 (AdditionOp)
197 (AdditionOp)
198+ (AssignOp)
198 (MultiplyOp)
199 (MultiplyOp)
199 (PrefixOp)
200 (PrefixOp)
200 "*"
201 "*"
201 "**"
202 "**"
202 "->"
203 "->"
203− "=>"
204 ".?"
204 ".?"
205 ".*"
205 ".*"
206− "="
207 "?"
206 "?"
208] @operator
207] @operator
209
208
runtime/queries/zig/indents.toml+3
@@ -3,6 +3,9 @@ indent = [
3 "BlockExpr",
3 "BlockExpr",
4 "ContainerDecl",
4 "ContainerDecl",
5 "SwitchExpr",
5 "SwitchExpr",
6+ "AssignExpr",
7+ "ErrorUnionExpr",
8+ "Statement",
6 "InitList"
9 "InitList"
7]
10]
8
11