This list is long:
const keywords = @[
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar",
"zzz", "ggg", "ddd",
]
nimpretty bug.nim introduces a strange indentation space where there should not be.
const keywords = @[
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo",
"bar", "foo", "bar",
"zzz", "ggg", "ddd",
]
I expected some thing like:
const keywords = @[
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo",
"bar", "foo", "bar",
"zzz", "ggg", "ddd",
]
I see your expected and I raise ;)
This is what nimpretty does after the fix in https://github.com/nim-lang/Nim/pull/11739:
const keywords = @[
"foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo",
"bar", "foo", "bar", "zzz", "ggg", "ddd",
]
This is nice! Thank you for the fix.
Most helpful comment
I see your
expectedand I raise ;)This is what nimpretty does after the fix in https://github.com/nim-lang/Nim/pull/11739: