PHP-Indenting-for-VIm icon indicating copy to clipboard operation
PHP-Indenting-for-VIm copied to clipboard

Indenting of function arguments

Open berarma opened this issue 4 years ago • 0 comments

Hi.

There's a case where the indentation is not what I would expect.

For example, I get the following indentation:

a(
    b(
        c(
        )
    )
)

But I get this indentation for similar code:

a($o
    ->b($o
    ->c(
    )
    )
)

The first argument list gets indented by the following ones use the same indentation level.

I expected this:

a($o
    ->b($o
        ->c(
        )
    )
)

Is that possible?

Thanks for your work.

berarma avatar Mar 31 '20 23:03 berarma