Skip to content

Format ocp-indent with itself - #333

Merged
NathanReb merged 13 commits into
OCamlPro:masterfrom
NathanReb:fmt-with-ocp-indent
Sep 30, 2025
Merged

Format ocp-indent with itself#333
NathanReb merged 13 commits into
OCamlPro:masterfrom
NathanReb:fmt-with-ocp-indent

Conversation

@NathanReb

Copy link
Copy Markdown
Contributor

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.

@NathanReb
NathanReb marked this pull request as ready for review September 25, 2025 14:40
Comment thread src/ocp-indent-dynlink/dune Outdated
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>
Comment thread README.md Outdated
Comment thread README.md Outdated
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
NathanReb merged commit d131f47 into OCamlPro:master Sep 30, 2025
7 checks passed
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants