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

Aligned formatting #114

Open
lionel- opened this issue Dec 17, 2024 · 0 comments
Open

Aligned formatting #114

lionel- opened this issue Dec 17, 2024 · 0 comments

Comments

@lionel-
Copy link
Collaborator

lionel- commented Dec 17, 2024

Related to #113. A special comment like fmt: align-equal would apply to the next expression (which should be a function call) and instruct Air to align arguments on =:

# fmt: align-equal
list(
    foo = 1,
      x = 2,
          3
)

This would help readability of calls that are used for certain types of data entry.

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

1 participant