Guillaume Petiot
Guillaume Petiot
Ah yes my bad, my config was applying `profile=ocamlformat` which sets `--break-infix-before-func`
So the message added in #481 is not informative enough?
I agree, if we find a good heuristics we could also removes this option in favor of an auto mode: - pipes -> fit or vertical - others -> wrap
Yes it is due to the `wrap-comments=false` of this profile that keep the comments unchanged (you may not want the second line indented for whatever reason), if you indent it...
What I mean is that, as seen below, the comments are not modified in both cases, but if you indent it manually before formatting like in the second case, the...
@ceastlund IIRC all the features that you wanted to preserve will be preserved after this PR is merged and the `ocp-indent-compat` option is removed. Let me know if more work...
I've tried a few things but nothing that would fix this without breaking the comments in other places. Here is a minimal snippet to reproduce the bug if someone has...
For this one we have to wait for https://github.com/ocaml-ppx/ppx_import/pull/27 to be merged
@emillon is that something that is ready to be merged so we can close this issue?
This kind of formatting is difficult to achieve because it relies on formatting boxes that do not respect the shape of the ast, it requires special cases, and it will...