Description
Putting a comment in-between arguments in a parameter list of a function, formats it at the same level of indentation as other parameters. However if a comment is put after all parameters of a function it's formatted with 1 level indentation less.
This applies to both line and multi-line comments.
Similar issue: #317.
Small example input
{
# param1,
param2,
param3,
# param4,
}:
{ }
Expected output
{
# param1,
param2,
param3,
# param4,
}:
{ }
Actual output
{
# param1,
param2,
param3,
# param4,
}:
{ }
Description
Putting a comment in-between arguments in a parameter list of a function, formats it at the same level of indentation as other parameters. However if a comment is put after all parameters of a function it's formatted with 1 level indentation less.
This applies to both line and multi-line comments.
Similar issue: #317.
Small example input
Expected output
Actual output