Closed mbarbin closed 8 years ago
Note that the behaviour makes sense outside of records, because we want:
let f () =
print_endline "a"
;
print_endline "b"
where unindenting would be ugly. An exception should be added when within a record.
Is #210 working for you ?
I tested it in emacs this morning with electric mode enabled, and it is aligning it as intended. Thank you for the fix. :+1:
Example:
This is currently indents the ';' below the 'a' char as in:
We would like it to be aligned under the open curly bracket:
The main reason for being attached to this is so we can turn on electric mode for that case in emacs and have the semicolon aligned automatically as soon as the user types it.