We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fmt should add a linebreak after the last const decl
below is formatted
import os const foo = 'foo' fn bar() { // ... }
import os const foo = 'foo' // adding a comment adds a lb fn bar() { // ... }
format above code
lb after last const
fmt keeps no-lb / behaves inconsistent
No response
v0.4.3
linux, amd64
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
fmt: add linebreak after const decl(fix vlang#20157)
1c1a9ec
fmt: add linebreak after const decl (fix #20157) (#20162)
aef3643
Successfully merging a pull request may close this issue.
Describe the bug
fmt should add a linebreak after the last const decl
below is formatted
Reproduction Steps
format above code
Expected Behavior
lb after last const
Current Behavior
fmt keeps no-lb / behaves inconsistent
Possible Solution
No response
Additional Information/Context
No response
V version
v0.4.3
Environment details (OS name and version, etc.)
linux, amd64
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: