How to instruct ocamlformat to add a space between two let statements?

I have the following code:

let add x y = x + y
let print_add x y = Printf.printf "%d + %d = %d\n" x y @@ add x y

let () = print_add 1 2

ocamlformat removes the blank lines, e.g.:

let add x y = x + y
let print_add x y = Printf.printf "%d + %d = %d\n" x y @@ add x y
let () = print_add 1 2

Which strikes me as bad looking, coming from C-style languages.

How can I tell ocamlformat to not do that?
Is this considered good style in Ocaml?

Thanks anyways!

I think the following in your .ocamlformat should work:

module-item-spacing = preserve

If you always want blank lines between let expressions, use

module-item-spacing = sparse