toml-sort
toml-sort copied to clipboard
add inner spacing to inline objects (non-empty) - BREAKING
I think this would be much cleaner. I would be happy to make this optional (my time permitting), if needed.
example from tests/examples/sorted/inline-default.toml
:
'aalist' = { c = "test", a = "another test" } # list comment
multi-line example from tests/examples/sorted/inline-default.toml
:
[a]
test = [
{ x = [
"foo",
"bar"
], a = [
""
] },
{ y = [
"foo",
"baz"
] }
]
NOTE that I would personally care the most about the single-line object case, no need for multi-line object formatting in my work at this point.