# zig fmt: implement 'zig fmt: \(on\|off\)' directives · gitcafe/zig

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

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

Visibility: public

Requested revision: 895fb2bd6da5e1b69668dd6572df9d559ebf2407

Requested commit: 895fb2bd6da5e1b69668dd6572df9d559ebf2407

Commit: 895fb2bd6da5e1b69668dd6572df9d559ebf2407

Tree: c44f7896934bc266d16a6586e5c3ea2180e20d82

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
zig fmt: implement 'zig fmt: (on|off)' directives

With the new implementation, these now work anywhere in the source code
as opposed to only at the top level.

```

## Parents

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

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