Skip to content

Expression hangs prematurely in long multiple assignment #233

@JohnnyMorganz

Description

@JohnnyMorganz
do
    do
        local FrontDistanceX, FrontDistanceY =
	    self.settings.FWsBoneLen * math.cos(math.rad(self.settings.FWsBoneAngle)),
	    self.settings.FWsBoneLen * math.sin(math.rad(self.settings.FWsBoneAngle))
    end
end

gets formatted as

do
    do
        local FrontDistanceX, FrontDistanceY =
	    self.settings.FWsBoneLen
	    * math.cos(math.rad(self.settings.FWsBoneAngle)),
	    self.settings.FWsBoneLen * math.sin(math.rad(self.settings.FWsBoneAngle))
    end
end

even though its not above the column width

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