Preserves the tabs and spaces of the base indent
All 4 scenarios hold
The formatter reproduces the base indent verbatim and never normalises it. Code indented with tabs, or with a mix of tabs and spaces, keeps that exact whitespace.
expected outcome
broken scenario
| Scenario | Source lines | Base indent? |
|---|---|---|
| Single-tab indented code |
| |
| Two-tab indented code |
| |
| Tab then two spaces |
| |
| Two spaces then tab |
|