forked from ocaml/tuareg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak indentation of class definition with non-hanging
object
Indent non-hanging `object` instead of aligning with their preceding `class` token. Previously: class c = object method m = 1 end Now: class c = object method m = 1 end which agrees with default ocp-indent and seems to be the more modern usage. Also indent `initialize` clauses correctly. (ocaml#239)
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters