File tree Expand file tree Collapse file tree
Test/test_script/format_text Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1180,6 +1180,10 @@ std::shared_ptr<FormatElement> LuaFormatter::FormatCallArgList(std::shared_ptr<L
11801180 layout = std::make_shared<AlignToFirstElement>();
11811181 }
11821182 }
1183+ else
1184+ {
1185+ layout = std::make_shared<IndentOnLineBreakElement>();
1186+ }
11831187
11841188 env->AddChild (FormatExpressionList (child, layout));
11851189 env->Add <KeepElement>(0 );
Original file line number Diff line number Diff line change @@ -36,3 +36,8 @@ function f()
3636 dd .e ().e ().aaa = 1231
3737end
3838
39+ call (
40+ call (aaa ,
41+ aaaa ),
42+ call (aaa ,bbbb ,ccc )
43+ )
Original file line number Diff line number Diff line change @@ -35,3 +35,9 @@ function f()
3535 local fff = function () end
3636 dd .e ().e ().aaa = 1231
3737end
38+
39+ call (
40+ call (aaa ,
41+ aaaa ),
42+ call (aaa , bbbb , ccc )
43+ )
You can’t perform that action at this time.
0 commit comments