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

Fix pretty printer closing brace alignment #1090

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

ners
Copy link
Contributor

@ners ners commented Oct 6, 2023

Before this PR, prettyNix generates docs like this:

{
  foo = {
    bar = [
      a
      b
      c
      ]
    }
  }

With this PR, the closing braces are more correctly aligned with the opening ones:

{
  foo = {
    bar = [
      a
      b
      c
    ]
  }
}

@ners ners changed the title Small pretty printer fix Fix pretty printer fix closing brace alignment Oct 6, 2023
@ners ners changed the title Fix pretty printer fix closing brace alignment Fix pretty printer closing brace alignment Oct 8, 2023
@Anton-Latukha
Copy link
Collaborator

Thank you.

@Anton-Latukha Anton-Latukha merged commit 3badf5f into haskell-nix:master Oct 13, 2023
8 of 9 checks passed
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 this pull request may close these issues.

2 participants