Tommy
Tommy copied to clipboard
Add MinimumInlineWidth to TomlNode.
Supported by TomlArray and TomlTable.
I don't know if such a feature would be desired upstream.
The goal is fine-grained control over spacing when writing inline tables, to better format output for human consumption.
So you can do something like this:
rows = [
{ id = 0, title = "foo" },
{ id = 10, title = "bar" },
{ id = 100, title = "baz" }
]
By setting MinimumInlineWidth
to 3 on each TomlNode
for id
.