You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
[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.
#lettest(..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
]
The text was updated successfully, but these errors were encountered:
[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:
The text was updated successfully, but these errors were encountered: