-
-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
Description
I have format on save enabled, and it's configured to only format modifications (I'm working on a codebase with some non-standard indentation). When I edit the middle of a list of indented arguments, the indentation is removed when I save. A good example of this is require statements:
You can see the modified line indicator at the left hand side. When I save the indentation is removed, and hitting tab indents the forms correctly.
I'm guessing that the format on save is only formatting what it's given, while the format on tab is able to consider the enclosing form and that's why it indents correctly. Is there anything that can be done about it?
PEZ, BrunoBog and samnes
