Since I installed the last tuareg package (2.0.10), some things really annoy me and I can't find how to change them back to their previous setup :
let print_enum =
let c = ref 0 in
fun f ->
List.iter (fun e a
b c ->
) l
Here I'd like to have :
let print_enum =
let c = ref 0 in
fun f ->
List.iter (fun e a
b c ->
) l
I couldn't find the indentation for fun f ->
nor for
fun_app a b
c d
in the customization menu.
CHANGES
describes what is new and the first line looks very interesting: github.com/ocaml/tuareg/blob/master/CHANGES Perhaps you could typeM-x describe-variable RET tuareg-indent-align-with-first-arg RET
and see if that is what is causing you the behavior you wish to avoid. Since it is a variable, you can probably customize it to your liking. TheCHANGES
file only deals with versions 2.0.9 and 2.0.10. If you were running version 2.0.9 before updating your package, then the list of items to check is relatively short. – lawlistprintf "%s %s" s1 s2
ifs2
is on another line it will get aligned according toprintf
and nots1
anymore. But forfun e a b c ->
nothing changed. And I still can't find whyfun f ->
andList.iter
are aligned. – Lhooq