Skip to content

Commit

Permalink
Update MagikFormattingStrategy.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Dec 10, 2024
1 parent 4a4e204 commit ea86367
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private boolean isBinaryExpression(final AstNode node) {

@CheckForNull
private TextEdit ensureIndenting(final Token token) {
if (this.indent == 0 && !this.tokenIs(this.lastToken, GenericTokenType.WHITESPACE)) {
if (this.indent == 0 && !this.tokenIs(this.lastToken, GenericTokenType.WHITESPACE) && !this.options.isCheckIndentation()) {
return null;
}

Expand Down

0 comments on commit ea86367

Please sign in to comment.