Files
zig/lib
Kendall Condon fcc54ca981 zig fmt: fix many bugs with multiline string literals
Adds two new space modes maybe_space and comma_maybe_space which only
render the space when the next token is not a multiline string literal.
This is used in a lot of places to avoid a trailing space on lines
caused by multiline string literals forcing newlines.

Fixes places where the node tag is compared to be a multiline string
literal to instead check if the first token is a multiline string
literal line. This fixes cases like `\\ ++ text`.

This commit also rewrites quite a bit of code to be clearer /
deduplicated.
2026-03-12 17:22:46 -04:00
..
2026-03-08 18:41:21 -07:00
2026-03-10 00:42:32 +01:00
2026-02-12 21:35:36 -08:00
2026-03-11 21:14:46 -04:00