ocaml / tuareg

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

Adding parentheses changes indentation #316

Open DemiMarie opened 1 month ago

DemiMarie commented 1 month 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.