Closed william3 closed 8 years ago
The parameter max_indent
only affects some cases (see the doc), and those don't include function application, which always adds base_indent. We try not to over-indent, while retaining, as much as possible, "correct" indentation whatever comes next in the code. And e.g.:
let _ =
let x = f
x;
g y
in
x
doesn't feel "correct" because x
and g
are at the same level. So here is the reason.
hello, using ocp-indent 1.5.1, I get this indentation :
However, I would have think that the following should happen :
this is not a big issue however