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

No indent for object with continuation section #316

Closed
kyklish opened this issue Jan 6, 2023 · 0 comments · Fixed by #317
Closed

No indent for object with continuation section #316

kyklish opened this issue Jan 6, 2023 · 0 comments · Fixed by #317
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@kyklish
Copy link
Contributor

kyklish commented Jan 6, 2023

Description

No indent for object with continuation section

Expected formatted output snippet

if (expression)
    obj := { 0:""
        , a: 1
        , b: 2 }
else
    obj := { 0:""
        , a: 2
        , b: 1 }
code

Actual formatted output snippet

if (expression)
obj := { 0:""
    , a: 1
    , b: 2 }
else
obj := { 0:""
    , a: 2
    , b: 1 }
code

Additional context

Optionally, you may provide similar snippets with similar behavior.

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