ocaml / tuareg

Emacs OCaml mode
GNU General Public License v3.0
363 stars 79 forks source link

Adding parentheses changes indentation #316

Open DemiMarie opened 4 months ago

DemiMarie commented 4 months ago

If I write

if a then
  b;

tuareg-mode indents correctly. However, if I wrap the whole expression in parentheses:

(if a then
   b);

tuareg-mode adds an extra space of indentation.