Skip to content

doesn't respect -- stylua: ignore start when it is in a multiline bracket #705

@juiceDeLemon

Description

@juiceDeLemon

for example this won't work:

require("foo").bar {
    -- stylua: ignore start
    baz      =0
    -- stylua: ignore end
}

but this won't too

-- stylua: ignore start
require("foo").bar {
    baz=0, -- <- this will not get formatted
    -- stylua: ignore end
    hello    ="world" -- <- this will not get formatted too because the ignore end is not detected?
}

I will not be able to not format something only in that {} bracket

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