Format ocp-indent with itself - #333
Merged
Merged
Conversation
NathanReb
force-pushed
the
fmt-with-ocp-indent
branch
from
September 25, 2025 14:33
0753a8e to
754f4c3
Compare
NathanReb
marked this pull request as ready for review
September 25, 2025 14:40
redianthus
reviewed
Sep 25, 2025
NathanReb
force-pushed
the
fmt-with-ocp-indent
branch
from
September 26, 2025 09:19
23b06af to
10bf8ca
Compare
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
NathanReb
force-pushed
the
fmt-with-ocp-indent
branch
from
September 29, 2025 13:26
0966efd to
4697e0d
Compare
redianthus
reviewed
Sep 29, 2025
redianthus
reviewed
Sep 29, 2025
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
NathanReb
force-pushed
the
fmt-with-ocp-indent
branch
from
September 29, 2025 14:24
d9cab5e to
2aa0d92
Compare
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
NathanReb
force-pushed
the
fmt-with-ocp-indent
branch
from
September 29, 2025 14:26
2aa0d92 to
908e372
Compare
Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
NathanReb
added a commit
to NathanReb/opam-repository
that referenced
this pull request
Oct 1, 2025
CHANGES: + Fix detection of let vs letin after a struct (OCamlPro/ocp-indent#324, @Julow) + Treat `|>` as a monadic operator (OCamlPro/ocp-indent#322, @nberth) + Prevent Args out of range error in ocp-indent-buffer (OCamlPro/ocp-indent#327, @bcc32) + Fix "Missing ‘lexical-binding’ cookie" warning in Emacs (OCamlPro/ocp-indent#329, @nojb) + Fix a bug where ocp-indent translate LF to CRLF when run on Windows instead of preserving the input's newlines. (OCamlPro/ocp-indent#334, @nojb) + Add `ocp-indent-gen-rules` to support `dune fmt` like workflow with ocp-indent (OCamlPro/ocp-indent#333, @NathanReb)
nojb
added a commit
to LexiFi/ocp-indent
that referenced
this pull request
Feb 9, 2026
Release 1.9.0 CHANGES: + Fix detection of let vs letin after a struct (OCamlPro#324, @Julow) + Treat `|>` as a monadic operator (OCamlPro#322, @nberth) + Prevent Args out of range error in ocp-indent-buffer (OCamlPro#327, @bcc32) + Fix "Missing ‘lexical-binding’ cookie" warning in Emacs (OCamlPro#329, @nojb) + Fix a bug where ocp-indent translate LF to CRLF when run on Windows instead of preserving the input's newlines. (OCamlPro#334, @nojb) + Add `ocp-indent-gen-rules` to support `dune fmt` like workflow with ocp-indent (OCamlPro#333, @NathanReb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This sets up formatting rules within the repo so that source files can easily be checked for indentation and eventually formatted via dune's promotion.