1
Fork 0

Change indentation amount from 4 to 2

This commit is contained in:
prescientmoon 2025-06-05 00:42:54 +02:00
commit 0209e194a5
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U

View file

@ -154,7 +154,7 @@ fn Writer(comptime ChildWriter: type) type {
}
pub fn emitIndent(self: *Self) !void {
try self.child_writer.writeByteNTimes(' ', self.indentation * 4);
try self.child_writer.writeByteNTimes(' ', self.indentation * 2);
if (self.indentation > 0) self.preceded_by_space = true;
}