File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ profile. This started with version 0.26.0.
66
77## unreleased
88
9+ ### Added
10+
11+ - Support for OCaml 5.4 (#2717 , @Julow )
12+
913### Deprecated
1014
1115- Starting in this release, ocamlformat can use cmdliner >= 2.0.0. When that is
Original file line number Diff line number Diff line change @@ -523,11 +523,9 @@ let update_using_env conf =
523523let discard_formatter =
524524 Format. (
525525 formatter_of_out_functions
526- { out_string= (fun _ _ _ -> () )
527- ; out_flush= (fun () -> () )
528- ; out_newline= (fun () -> () )
529- ; out_spaces= (fun _ -> () )
530- ; out_indent= (fun _ -> () ) } )
526+ { (get_formatter_out_functions () ) with
527+ out_string= (fun _ _ _ -> () )
528+ ; out_flush= (fun () -> () ) } )
531529
532530let global_lib_term =
533531 Term. (
You can’t perform that action at this time.
0 commit comments