mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
zig fmt: Respect line breaks in struct default value decls
Bring this in line with how variable declarations are handled. Open a new indentation level for the initialization expression to handle nested expressions like blocks. Closes #7618
This commit is contained in:
parent
f16f25047c
commit
5ecf8bddae
2 changed files with 48 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue