We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--parse-docstrings
Describe the bug
Passing --parse-docstrings may lead to output that violates the configured margin.
❯ ocamlformat --version 0.26.2
How to Reproduce
Formatted file foo.ml:
foo.ml
(** xxxxx xx xxxxxx xxxxxx xxxxxx xxxxx xxxxxxx xxx xxxxxx xxx xxxx xxxxxxxxxx. *)
Command line (explicitly sets a margin of 80):
ocamlformat --enable-outside-detected-project -m 80 --parse-docstrings foo.ml
Output has an 82 character line:
The text was updated successfully, but these errors were encountered:
Thanks for reporting. Should be fixed by #2550
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Passing
--parse-docstrings
may lead to output that violates the configured margin.How to Reproduce
Formatted file
foo.ml
:Command line (explicitly sets a margin of 80):
Output has an 82 character line:
(** xxxxx xx xxxxxx xxxxxx xxxxxx xxxxx xxxxxxx xxx xxxxxx xxx xxxx xxxxxxxxxx. *)
The text was updated successfully, but these errors were encountered: