ocamlformat icon indicating copy to clipboard operation
ocamlformat copied to clipboard

`field-space=tight-decl` should apply to signature items as well

Open nojb opened this issue 2 years ago • 1 comments

The option field-space=tight-decl should also apply to signature items, which are very similar to record fields, eg:

val foo: ty

instead of

val foo : ty

(by the way this is a common style, found eg in the OCaml compiler)

nojb avatar Sep 13 '21 09:09 nojb

(I can look into implementing this if there is a consensus.)

nojb avatar Sep 13 '21 10:09 nojb