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

sample: multi-line parenthesis #66

Closed
zimbatm opened this issue Jul 1, 2019 · 0 comments · Fixed by #73
Closed

sample: multi-line parenthesis #66

zimbatm opened this issue Jul 1, 2019 · 0 comments · Fixed by #73

Comments

@zimbatm
Copy link
Member

zimbatm commented Jul 1, 2019

When a parenthesis is multi-line it should indent the inner bits.

Input

{
  xxx = listToAttrs (
  concatMap (name:
    let a = 4; in 5
));
}

Output

{
  xxx = listToAttrs (
  concatMap (name:
    let a = 4; in 5
  ));
}

Desired output

{
  xxx = listToAttrs (
    concatMap (name:
      let a = 4; in 5
    )
  );
}
@matklad matklad mentioned this issue Jul 1, 2019
bors bot added a commit that referenced this issue Jul 1, 2019
73: Indent parens r=matklad a=matklad

closes #66



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
@bors bors bot closed this as completed in #73 Jul 1, 2019
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

Successfully merging a pull request may close this issue.

1 participant