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

bad indentation with indicate-multiline-delimiters=closing-on-separate-line #927

Closed
Khady opened this issue Jul 17, 2019 · 0 comments · Fixed by #928
Closed

bad indentation with indicate-multiline-delimiters=closing-on-separate-line #927

Khady opened this issue Jul 17, 2019 · 0 comments · Fixed by #928
Assignees

Comments

@Khady
Copy link
Contributor

Khady commented Jul 17, 2019

break-sequences=true
indicate-multiline-delimiters=closing-on-separate-line

With this configuration and ocamlformat, the formatting of this snippet is surprising. I'm not expecting the closing parenthesis to be indented like the elements in the sequence.

let init =
  lazy
    ( foo () ;
      bar
      )
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.

2 participants