Description
Functions with attribute set arguments should have the same amount of indentation compared to regular single argument functions when wrapped in a pair of parentheses.
Small example input
{
foo = [
(bar: {
baz = "foobar";
})
(
{ bar }:
{
baz = "foobar";
}
)
];
}
Expected output
{
foo = [
(bar: {
baz = "foobar";
})
({ bar }: {
baz = "foobar";
})
];
}
Actual output
{
foo = [
(bar: {
baz = "foobar";
})
(
{ bar }:
{
baz = "foobar";
}
)
];
}
Description
Functions with attribute set arguments should have the same amount of indentation compared to regular single argument functions when wrapped in a pair of parentheses.
Small example input
Expected output
Actual output