I have a record that I’ve formatted like so
Ok {
x = s.x +. (s.v *. p.dt);
v = s.v +. (-.p.k *. s.x *. p.dt)
}
When I run ocamlformat on this I get this
Ok { x = s.x +. (s.v *. p.dt); v = s.v +. (-.p.k *. s.x *. p.dt) }
Which is a bit less readable. Any way to disable it for specific blocks/regions of code? Like zig fmt allows adding // zig fmt: off … // zig fmt: on to exclude sections from being formatted.