Open tazjin opened 2 years ago
Possibly related: If I try to format the following code which is a function returning a list, the formatting is a bit off.
Expected:
{ utils, ... }:
utils.create_list {
key = "mango";
} ++ utils.create_list {
key = "banana";
} ++ utils.create_list {
key = "apple";
}
Formatted:
{ utils, ... }:
utils.create_list
{
key = "mango";
} ++ utils.create_list {
key = "banana";
} ++ utils.create_list {
key = "apple";
}
Input
Output
Desired output
The correct output will be produced if a
\n
is inserted between[{
.