Guillaume Petiot
Guillaume Petiot
This follows a request from @ceastlund Jane Street is dropping ocp-indent so ocamlformat does not need to tweak its output to play nice with ocp-indent anymore, the `ocp-indent-compat` option will...
Fix #2081 - Preserves more of the sugared extension forms (wasn't the case when we formatted a function in an Apply when `break-infix-before-func=false` for example) - Behaves the same with/without...
Fix #1965 Just reusing the docstring parsing&formatting for .mld files. The `code_formatter` type definition has been moved from `Docstring` to `Fmt` to avoid a cyclic dependency between `Conf` and `Extended_ast`.
I made some experiments to fix #1678, so far the diff on the conventional profile looks good. cc @CraigFe since you opened the issue. The idea is to not put...
~**Wait for #1639 to be merged so the *slicing* optimization can be reviewed independently!**~ This is a reboot of #1207, as the time overhead made the feature clunky, and inspired...
Link: https://ocaml.org/learn/tutorials/guidelines.html - [x] **Delimiters**: - [x] A space should always follow a delimiter symbol * Ofmt: by default, option `field-space` allows to add a space at the left of...
This is a preview of the formatting of your project codebase with the upcoming `ocamlformat.0.21.0`. Note that this package is not yet released in opam (so the linting/formatting task of...
Fix #2186 What do you think @samoht (https://github.com/ocaml-ppx/ocamlformat/actions/runs/3267004322/jobs/5371567574), @jberdine (https://github.com/ocaml-ppx/ocamlformat/actions/runs/3267004322/jobs/5371567691), @ceastlund (https://github.com/ocaml-ppx/ocamlformat/actions/runs/3267004322/jobs/5371567786) ? The diff is quite large but it looks like the improvement is worth it.
Hi, I'm taking over the work initiated by @jonludlam to make modules executables in toplevel (for the documentation on ocaml.org). We were wondering if there was a way of dynamically...
Not urgent, but it cleans up a lot of stuff in sugar/ast about sequences. The diff is caused by: - comments attached after the sequence were moved to after the...