| ... | @@ -108,7 +108,7 @@ fn doInner(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Val | ... | @@ -108,7 +108,7 @@ fn doInner(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Val |
| 108 | inline for (v.children) |it| { | 108 | inline for (v.children) |it| { |
| 109 | try do(alloc, writer, it, data, ctx, .{ | 109 | try do(alloc, writer, it, data, ctx, .{ |
| 110 | .Ctx = opts.Ctx, | 110 | .Ctx = opts.Ctx, |
| 111 | .indent = opts.indent + 1, | 111 | .indent = if (shouldindent) opts.indent + 1 else opts.indent, |
| 112 | .doindent = shouldindent, | 112 | .doindent = shouldindent, |
| 113 | .doindent2 = opts.doindent2, | 113 | .doindent2 = opts.doindent2, |
| 114 | }); | 114 | }); |