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

Preserve a blank line after a leading top-level comment. #1481

Merged
merged 1 commit into from
May 13, 2024

Conversation

munificent
Copy link
Member

Preserving blank lines between comments and code was mostly working correctly except for one edge case: A blank line between the first comment at the top level of a file and the subsequent code would get discarded. This fixes that.

Fix #1415.

Preserving blank lines between comments and code was mostly working
correctly except for one edge case: A blank line between the *first*
comment at the top level of a file and the subsequent code would get
discarded. This fixes that.

Fix #1415.
Copy link
Member

@natebosch natebosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

@munificent munificent merged commit acbe67d into main May 13, 2024
7 checks passed
@munificent munificent deleted the 1415-blank-line-after-leading-comment branch May 13, 2024 19:25
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.

Tall style: Preserve blank line between line comments and subsequent code?
3 participants