Skip to content

fmt: insert blank line between top-level defs#9399

Merged
Anton-4 merged 1 commit into
mainfrom
fmt-force-empty-line
May 9, 2026
Merged

fmt: insert blank line between top-level defs#9399
Anton-4 merged 1 commit into
mainfrom
fmt-force-empty-line

Conversation

@Anton-4
Copy link
Copy Markdown
Collaborator

@Anton-4 Anton-4 commented May 9, 2026

Adds a blank line between consecutive top-level defs (decl, type_anno, type_decl), keeping a type_anno + matching decl pair grouped together without a blank line between them. Inline trailing comments stay attached to the previous def; standalone comments stay attached to the next def.

Adds a blank line between consecutive top-level defs (decl, type_anno,
type_decl), keeping a type_anno + matching decl pair grouped together
without a blank line between them. Inline trailing comments stay
attached to the previous def; standalone comments stay attached to the
next def.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Anton-4 Anton-4 merged commit 0231456 into main May 9, 2026
39 checks passed
@Anton-4 Anton-4 deleted the fmt-force-empty-line branch May 9, 2026 14:50
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