ocaml-ppx / ocamlformat

Auto-formatter for OCaml code
MIT License
622 stars 175 forks source link

Fix doc-comments '*)' exceeding the margin #2550

Closed Julow closed 4 months ago

Julow commented 4 months ago

Fix https://github.com/ocaml-ppx/ocamlformat/issues/2549

This change applies to doc-comments and regular comments parsed as doc-comments.

Julow commented 4 months ago

Test branch shows that this bug is very common. All diffs seem reasonable.