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: unbalanced parenthesized expressions #722

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

nbacquey
Copy link
Member

@nbacquey nbacquey commented Sep 2, 2024

Description

This PR simplifies the old logic of "Do not prepend spaces if the node follows an open parenthesis" by either never prepending a space, or always prepending it, depending on the node.

Resolves: #721

Checklist

Checklist before merging:

  • CHANGELOG.md updated
  • README.md up-to-date

This commit simplifies the old logic of "Do not prepend spaces if the
node follows an open parenthesis" by either never prepend a space, or
always prepend it, depending on the node.

Resolves: #721
Copy link
Member

@Xophmeister Xophmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@nbacquey nbacquey merged commit a839f3c into main Sep 3, 2024
9 checks passed
@nbacquey nbacquey deleted the nb/ocaml_unbalanced_parenthesis branch September 3, 2024 09:24
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.

unbalanced spacing around parenthesized begin, object, etc.
2 participants