Skip to content

Remaining of binary expression gets formatted behind a comment #416

@jeparlefrancais

Description

@jeparlefrancais

Here is a reproducible example for 0.12.5

local variable = call(
        somethingToCall().foo.bar.baz,
        "some super long string that will stay on this line"
    ) -- a comment
.. "another string"

Converts to:

local variable = call(
    somethingToCall().foo.bar.baz,
    "some super long string that will stay on this line"
) -- a comment .. "another string"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions