typstfmt
typstfmt copied to clipboard
Formatter does not respect `max_line_length` directive
Hi,
As promised on Discord, here's the issue regarding the max_line_length
.
When configuring the max_line_length
parameter to 80 characters in the configuration file, the formatter still produces lines that exceed 80 characters. IMHO, This behaviour is inconsistent with the expected output.
Example:
- Runnability: A researcher using any machine is able to re-run an experiment and obtain constant results
Is formatted into:
- Runnability: A researcher using any machine is able to re-run an experiment and
obtain constant results
And the line starting with - Runnability:...
is greater than 80 chars.