-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Reaching a stable list formatting requires formatting twice #188
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/formatting-team-meeting-2024-04-16/43533/1 |
Looking into this, I'm thinking the following: [ "string"
] should be formatted like this: [
"string"
] Because "empty lines must be preserved". I've now implemented this in #201 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/formatting-team-meeting-2024-05-28/46126/1 |
Description
Just a small thing I noticed while packaging stuff for Nixpkgs.
Small example input
Expected output
Actual output
after first formatting
then after formatting again, it gives the correct
The text was updated successfully, but these errors were encountered: