We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 432ac30 commit 5f3e7deCopy full SHA for 5f3e7de
src/services/formatting/formatting.ts
@@ -419,7 +419,7 @@ module ts.formatting {
419
// if node is located on the same line with the parent
420
// - inherit indentation from the parent
421
// - push children if either parent of node itself has non-zero delta
422
- indentation = startLine === lastIndentedLine
+ indentation = startLine === lastIndentedLine
423
? indentationOnLastIndentedLine
424
: parentDynamicIndentation.getIndentation();
425
delta = Math.min(options.IndentSize, parentDynamicIndentation.getDelta() + delta);
0 commit comments