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

keep_line_breaks extra line after a global function call #582

Open
belka-ew opened this issue Jun 27, 2023 · 0 comments
Open

keep_line_breaks extra line after a global function call #582

belka-ew opened this issue Jun 27, 2023 · 0 comments
Labels
bug feature:keep_line_breaks Issues related to the keep_line_breaks command line flag

Comments

@belka-ew
Copy link
Collaborator

void update()
{
    .notify;
}

gets formatted as

void update()
{
____
        .notify;
}

with:

./bin/dfmt test.d --keep_line_breaks=true

Undescores are spaces.

Probably in one way or another related to #559.

@belka-ew belka-ew added bug feature:keep_line_breaks Issues related to the keep_line_breaks command line flag labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature:keep_line_breaks Issues related to the keep_line_breaks command line flag
Projects
None yet
Development

No branches or pull requests

1 participant