Additional contextocamlformat does not seem to support range formatting. It reads formatting settings from .ocamlformat file, which it searches for in input file directory, going up into parent directores until it finds one. When formatting stdin, one of --name, --impl, or --intf options has to be provided.
Formatter tool ocamlformat
Filetype(s) OCaml
Additional context
ocamlformat
does not seem to support range formatting. It reads formatting settings from.ocamlformat
file, which it searches for in input file directory, going up into parent directores until it finds one. When formatting stdin, one of--name
,--impl
, or--intf
options has to be provided.