Skip to content

Multiple arguments with comments #375

Open
@jtojnar

Description

When there are multiple nested anonymous functions, some of which have comment before argument, the arguments without a comment are collapsed, which looks weird:

https://kamadorueda.com/alejandra/?before=pkgs%3A%0A%0A%23+Overlay+to+be+passed+as+packageOverrides+to+Nixpkgs%E2%80%99s+generic+PHP+builder%3A%0A%0Afinal%3A%0Aprev%3A%0A%0Alet%0A++foo+%3D+5%3B%0Ain%0Afoo

Noticed in fossar/nix-phps#190 (comment)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions