ocaml-ppx / ocaml-migrate-parsetree

DEPRECATED. See https://ocaml.org/changelog/2023-10-23-omp-deprecation. Convert OCaml parsetrees between different major versions
Other
87 stars 43 forks source link

Forbid ocp-ident to take the system preset to indent comments #112

Closed kit-ty-kate closed 3 years ago

kit-ty-kate commented 3 years ago

Apparently the current behaviour of ocp-indent is such that if no preset is given, it will fallback to the system preset (e.g. from ~/.ocp/ocp-indent.conf). This simplifies porting ocaml-migrate-parsetree to a new version of OCaml quite a bit.

@AltGr is this expected?

AltGr commented 3 years ago

Hm yes, maybe not the best decision, but you should always start your ocp-indent config files with normal