Bug?: --enable-outside-detected-project
does not use global configuration in projects without .ocamlformat
#2509
Labels
Describe the bug
When
dune-project
exists and project-wise.ocamlformat
does not exist, unconfigured default foramtting will be used. (macOS)Expected Behavior
Use global configuration if it is a project directory and no
.ocamlformat
file exist. Or, add--auto-adopt-global-config-when-local-absent
option.How to Reproduce
$XDG_CONFIG_HOME/ocamlformat
:In project directories, i.e., with
dune-project
file, or even in directories that is not OCaml project but.git
exists,Not in project directories,
See also
.ocamlformat
by default #2092The text was updated successfully, but these errors were encountered: