diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-03-02 21:36:25 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-03-03 01:06:09 +0100 |
| commit | 3ad9cb8b473820ec5ea11d85aa72e8ddc83cfa03 (patch) | |
| tree | c3400ebccf6fa1a3b8ccd34a0a98a0fb2338496e /src/zig_clang.cpp | |
| parent | 84f3b3dff2cc8f380a60e920cb1ca76e779571c6 (diff) | |
| download | zig-3ad9cb8b473820ec5ea11d85aa72e8ddc83cfa03.tar.gz zig-3ad9cb8b473820ec5ea11d85aa72e8ddc83cfa03.zip | |
zig fmt: allow and trim whitespace around zig fmt: (off|on)
Currently `// zig fmt: off` does not work as there are two spaces
after the `//` instead of one. This can cause confusion, so allow
arbitrary whitespace before the `zig fmt: (off|on)` in the comment but
trim this whitespace to the canonical single space in the output.
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions
