-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(indent): do not modify block indents if one line is correct Previously, if a single line was correctly aligned with a block, but the others were overindented it was possible for the overindented lines to be unindented. This is not correct. The overindented lines shouldn't shift at all if at least one of the lines is correctly indented. This is to preserve manual formatting. This commit ensures the above functionality. * fix(indent): ignore blank lines for block content indentation
- Loading branch information
1 parent
0872d1f
commit 261c987
Showing
2 changed files
with
76 additions
and
18 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