diff --git a/.ocamlformat b/.ocamlformat index a275797..3849148 100644 --- a/.ocamlformat +++ b/.ocamlformat @@ -1,3 +1,4 @@ +version=0.24.1 break-cases=toplevel break-infix-before-func=false break-infix=fit-or-vertical diff --git a/dune-project b/dune-project index 57bfd6f..8a3bd4e 100644 --- a/dune-project +++ b/dune-project @@ -18,7 +18,7 @@ (dune :build) dune-build-info (ocaml-lsp-server :with-dev-setup) - (ocamlformat (and :with-dev-setup (>= 0.24) (< 0.25))) + (ocamlformat (and :with-dev-setup (= 0.24.1))) (odoc :with-doc) (ounit2 :with-test) yojson)) diff --git a/jsonschema2atd.opam b/jsonschema2atd.opam index a251e4f..eb2e85c 100644 --- a/jsonschema2atd.opam +++ b/jsonschema2atd.opam @@ -15,7 +15,7 @@ depends: [ "dune" {>= "3.0" & build} "dune-build-info" "ocaml-lsp-server" {with-dev-setup} - "ocamlformat" {with-dev-setup & >= "0.24" & < "0.25"} + "ocamlformat" {with-dev-setup & = "0.24.1"} "odoc" {with-doc} "ounit2" {with-test} "yojson"