typstfmt
typstfmt copied to clipboard
Remove linebreaks within a paragraph when performing auto formatting
First thanks for this great extension!
I am using this extension with VSCode. When performing file formatting, automatic linebreaks will be inserted to break a paragraph, leaving a weired display of multiple lines with different length. Is it possible to keep one paragraph as a single line (in the sense that only one line number for one paragraph in VSCode) and leave the 'linebreak' to the word wrap function from VSCode?
Example
This is what initially put in VSCode editor, and what I want as the whole paragraph is one line (line 34).
This is what I got after applying formatting through Typst LSP. One paragraph got broken into multiple lines (line 34-47).