# zig fmt: rework single statement if/while/for indentation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/52c45bf44d797f28594db5a75c306ed209cfb933)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 52c45bf44d797f28594db5a75c306ed209cfb933

Requested commit: 52c45bf44d797f28594db5a75c306ed209cfb933

Commit: 52c45bf44d797f28594db5a75c306ed209cfb933

Tree: f89c6a5a425cec8d8be8a1c284ce3a270a41598c

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
zig fmt: rework single statement if/while/for indentation

This approach properly handles nesting unlike the approach in the
previous commit.

```

## Parents

- [371b21bdfbfa8917b44e809fb8a041411ffc6b8a](https://git.cafe/gitcafe/zig/commit/371b21bdfbfa8917b44e809fb8a041411ffc6b8a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/52c45bf44d797f28594db5a75c306ed209cfb933?format=markdown)
