Skip to content

Conversation

@ilya-bobyr
Copy link

tombi is a pretty good TOML formatter/LSP with support for TOML in general, and Rust Cargo.toml in particular.

Using a unified format is nice.

In particular, tombi sorts not just properties within a section, but also sections and tables. Apparently some TOML parsers may fail if tables are not correctly sorted.

@ilya-bobyr ilya-bobyr marked this pull request as ready for review October 30, 2025 07:27
@ilya-bobyr ilya-bobyr force-pushed the pr/format-toml branch 3 times, most recently from 7670435 to 995ac78 Compare October 30, 2025 21:13
tombi is a pretty good TOML formatter/LSP with support for TOML in
general, and Rust Cargo.toml in particular.

Using a unified format is nice.

In particular, tombi sorts not just properties within a section, but
also sections and tables.  Apparently some TOML parsers may fail if
tables are not correctly sorted.
This is just a formatting change.  Reproduce by running:

```bash
tombi format program
tombi format clients/rust
tombi format pinocchio/program
tombi format pinocchio/interface
tombi format interface
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant