8000 fix formatting of attributes on modules by V1dV1d · Pull Request #2734 · casey/just · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix formatting of attributes on modules #2734

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

V1dV1d
Copy link
@V1dV1d V1dV1d commented May 14, 2025

First off, love the tool and that it comes with a formatter built in :)

However, I found that while setting attributes on mod statements works perfectly, the formatter apparently is not aware of this feature.
I just added a fairly naive implementation adding the two currently allowed attributes to the module impl Display. Also comes with a simple integration test.

I know that the formatter is an unstable feature and not the highest priority, but I personally use it and would love to see this fixed. Let me know if any of this needs fixing up, I'll happily do it :)

@V1dV1d V1dV1d force-pushed the fmt-mod-attributes branch from eda3618 to e43c0c2 Compare May 14, 2025 12:28
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.

1 participant
0