Open hbaxter-sc opened 2 months ago
given a toml like this
[foo] bar = 1 barbarbaz = { a = "b", c = "d" } short = { short_key = "b", features = ["foo", "bar"] }
running taplo format t.toml --option align_entries=true gives:
taplo format t.toml --option align_entries=true
however, if an entry is put over multiple lines, then:
[foo] bar = 1 barbarbaz = { a = "b", c = "d" } long = { long_key_name_here = "b", another_long_key_name_here = "d", features = ["foo","bar",] }
the same command with align_entries=true gives:
[foo] bar = 1 barbarbaz = { a = "b", c = "d" } long = { long_key_name_here = "b", another_long_key_name_here = "d", features = [ "foo", "bar", ] }
which does not have the entries aligned, we would expect something like:
given a toml like this
running
taplo format t.toml --option align_entries=true
gives:however, if an entry is put over multiple lines, then:
the same command with align_entries=true gives:
which does not have the entries aligned, we would expect something like: