Indent an initializer block after an = sign
This commit is contained in:
parent
7ff42a49fc
commit
bd2b2d8dd2
@ -2910,7 +2910,7 @@ void ASBeautifier::parseCurrentLine(const string& line)
|
||||
{
|
||||
bool initializerBlock =
|
||||
(prevNonSpaceCh == ',' || prevNonSpaceCh == '('
|
||||
|| prevNonSpaceCh == '{');
|
||||
|| prevNonSpaceCh == '{' || prevNonSpaceCh == '=');
|
||||
|
||||
// Purge the inStatementIndentStack if the line begins with '{'
|
||||
// and this is not a possible initializer block in a statement,
|
||||
|
Loading…
x
Reference in New Issue
Block a user