Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-sensible newlines in inherit block after comment #382

Closed
DavHau opened this issue Mar 23, 2023 · 1 comment
Closed

non-sensible newlines in inherit block after comment #382

DavHau opened this issue Mar 23, 2023 · 1 comment

Comments

@DavHau
Copy link

DavHau commented Mar 23, 2023

alejandra: 3.0.0

input:

let
  attrs = {
    a = 1;
    b = 2;
    c = 3;
  };
in {
  inherit
    (attrs)
    a
    b
    # some comment on `c`
    c
    ;
}

output:

let
  attrs = {
    a = 1;
    b = 2;
    c = 3;
  };
in {
  inherit
    (attrs)
    a
    b
    # some comment on `c`
    
    c
    ;
}
@piegamesde
Copy link
Contributor

I'd say this is a duplicate of #376

@kamadorueda kamadorueda closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants