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

Properly handle annotations everywhere in swayfmt #6802

Open
ironcev opened this issue Dec 30, 2024 · 0 comments
Open

Properly handle annotations everywhere in swayfmt #6802

ironcev opened this issue Dec 30, 2024 · 0 comments

Comments

@ironcev
Copy link
Member

ironcev commented Dec 30, 2024

There are cases in which swayfmt does not handle annotations at all, but just strips them away from the formatted code. One example would be stripping them from the last enum variant. Considering the upcoming language development, e.g. the ABI errors or derives, and the more prominent use of the cfg attribute for experimental features, having proper support for annotations everywhere in the swayfmt will become a necessity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant