Skip to content

Commit 6953027

Browse files
rossmeierSchottkyc137
authored andcommitted
fix formatting of block statements
Remove an unecessary double line break after the begin token and add a missing line break before the `end block;`
1 parent e6b4456 commit 6953027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vhdl_lang/src/formatting/concurrent_statement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ impl VHDLFormatter<'_> {
151151
});
152152
buffer.line_break();
153153
self.format_token_id(block.begin_token, buffer);
154-
buffer.line_break();
155154
indented!(buffer, {
156155
self.format_concurrent_statements(&block.statements, buffer)
157156
});
157+
buffer.line_break();
158158
self.format_token_span(
159159
TokenSpan::new(block.end_token, block.span.end_token - 1),
160160
buffer,

0 commit comments

Comments
 (0)