ocaml-ppx / ocamlformat

Auto-formatter for OCaml code
MIT License
633 stars 179 forks source link

Break after 'let%ext' #2615

Closed Julow closed 1 week ago

Julow commented 1 week ago

This avoids patterns being aligned after the end of the extension label:

-let%server ( (s : int Eliom_shared.React.S.t)
-           , (f : (?step:React.step -> int -> unit) Eliom_shared.Value.t) ) =
+let%server
+    ( (s : int Eliom_shared.React.S.t)
+    , (f : (?step:React.step -> int -> unit) Eliom_shared.Value.t) ) =