indent_square_nl

If an open square is followed by a newline, whether to indent the next line so that it lines up after the open square (not recommended).

Possible values are true and false, default false.

Examples

Base example:

int main()
{
    int x = 10;
    int y = 20;

    manyDimentionsArr[1,
        2,
        3] = x;

    manyDimentionsArr[
        1,
        2,
        3] = x;

    return 0;
}

It's hard to spot difference, but there is one space in below results.

true

After:

int main()
{
    int x = 10;
    int y = 20;

    manyDimentionsArr[1,
                      2,
                      3] = x;

    manyDimentionsArr[
                      1,
                      2,
                      3] = x;

    return 0;
}

false

After:

int main()
{
    int x = 10;
    int y = 20;

    manyDimentionsArr[1,
                      2,
                      3] = x;

    manyDimentionsArr[
        1,
        2,
        3] = x;

    return 0;
}

See also