Skip to content

Commit 7bc40ce

Browse files
committed
indent size 8 based on list startline indentation
1 parent c6174f6 commit 7bc40ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/cases/fourslash/indentationInAmdIife.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//// function foo(a?,b?) { b(a); }
44
////
5-
//// (foo)(1, function() {/*4_0*/
5+
//// (foo)(1, function() {/*4_1*/
66
//// });
77
////
88
//// // No line-breaks in the expression part of the call expression
@@ -20,7 +20,7 @@
2020
//// // Contains line-breaks in the expression part of the call expression.
2121
////
2222
//// (
23-
//// foo)(1, function () {/*4_1*/
23+
//// foo)(1, function () {/*8_4*/
2424
//// });
2525
//// (foo
2626
//// )(1, function () {/*4_3*/
@@ -38,14 +38,14 @@
3838
//// {/*4_4*/
3939
//// });
4040

41-
for (let i = 0; i < 5; ++i) {
41+
for (let i = 1; i < 5; ++i) {
4242
goTo.marker(`4_${i}`);
4343
edit.insertLine("");
4444
verify.indentationIs(4);
4545
}
4646

47-
for (let i = 1; i < 4; ++i) {
47+
for (let i = 1; i < 5; ++i) {
4848
goTo.marker(`8_${i}`);
4949
edit.insertLine("");
5050
verify.indentationIs(8);
51-
}
51+
}

0 commit comments

Comments
 (0)