-
Notifications
You must be signed in to change notification settings - Fork 73
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
Leading blank lines in a scope are not removed when a comment present #951
Comments
But, if I am not mistaken, this is neither a function call nor a function header, but rather a code block, right? In any case, do you not think this should be the expected behaviour? This is quite likely to happen because developers add many |
Ok fine... Without adding more complexity, this will result in comments being moved to the next line though if they are on the same line as the opening brace. This is fine thouth I think, as |
@IndrajeetPatil thanks for the issue. I should just say though that I try to reduce my time spent on {styler} and that I don't know if I will fix issues with (for me) low priority in the future anymore. Maybe others like @krlmlr will jump in. If you feel like you want to contribute, I am happy to review pull request for issues like this. Just you know. Of course you can always file issues and unless they are not legit, I won't close them 😄 |
This issue should be fixed iwth #952. You can inspect the diff to get a feel for how I did it. |
Great, I am happy to provide guidance in that. It's not that I want to stop working on {styler} tomorrow, but probably mid-term, e.g. start reducing gradually and onboard new contributors. |
without comment
with comment
Created on 2022-06-13 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: