[x] I have tested with the master version of typstfmt and not just typst-lsp
When using trailing multi-line content blocks with comments right after the [, the output becomes very confusing and not how I think it should look like.
#let test(..args) = (
// do something
)
#test(
a: "test test test test test",
b: "test test test test test",
)[ /* test */
test test test test test test test test test test test test test test test test test test test test test test test test
][ /* test */
test test test test test test test test test test test test test test test test test test test test test test test test
][ /* test */
test test test test test test test test test test test test test test test test test test test test test test test test
]
turns into
#test(
a: "test test test test test",
b: "test test test test test",
)[ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test ][ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test ][ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test ]
However, I'd like it to look like this:
#test(
a: "test test test test test",
b: "test test test test test",
)[ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
][ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
][ /* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
]
Without the comments or if I place the comments in the next line, it works just fine:
#test(
a: "test test test test test",
b: "test test test test test",
)[
/* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
][
/* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
][
/* test */
test test test test test test test test test test test test test test test test
test test test test test test test test
]
[x] I have tested with the master version of typstfmt and not just typst-lsp
When using trailing multi-line content blocks with comments right after the
[
, the output becomes very confusing and not how I think it should look like.turns into
However, I'd like it to look like this:
Without the comments or if I place the comments in the next line, it works just fine: