Skip to content

Inline parameter comments may be wrapped to wrong line #561

@tonycuadra

Description

@tonycuadra

For example, this:

self:doTheThing(what, --[[rightAway = ]] true)

Is rewritten by Stylua to:

self:doTheThing(
    what, --[[rightAway = ]]
    true
)

It would be preferable to distinguish these short inline parameter comments and not wrap at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions