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

Single semicolon treated like code line #291

Closed
kyklish opened this issue Dec 21, 2022 · 0 comments · Fixed by #315
Closed

Single semicolon treated like code line #291

kyklish opened this issue Dec 21, 2022 · 0 comments · Fixed by #315
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@kyklish
Copy link
Contributor

kyklish commented Dec 21, 2022

Description

Single semicolon (comment) treated like code line

Expected formatted output snippet

if (expression)
    ;
    code

Actual formatted output snippet

if (expression)
    ;
code
@kyklish kyklish added bug something isn't working formatter code formatter issues labels Dec 21, 2022
@kyklish kyklish changed the title Single semicolon add wrong indent for next line Single semicolon treated like code line Jan 6, 2023
mark-wiemer pushed a commit that referenced this issue Jan 19, 2023
Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
Closes #291
@mark-wiemer mark-wiemer mentioned this issue Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working formatter code formatter issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants