typstfmt
typstfmt copied to clipboard
Multi Line Comments Drifting Right
- [x] I have tested with the master version of typstfmt and not just typst-lsp
Tested on commit 792f08f41d3c081bcc04675100e8a5f615567b3a
Describe the bug
Formatting a multi line comment that is inside parenthesis makes it move to the right, even if the document has not been changed since the last format.
To Reproduce Steps to reproduce the behavior:
- Start with this code:
#let test_func() = {
(
/*
test
*/
)
- Repeatedly format
- Watch as the comment goes on a journey to the right side of your screen
#let test_func() = {
(/*
test
*/)
}
This may be related to #136 but I'm unsure.
The comments too??? :sob:
thanks for the report !!