Skip to content

Feature request: collapse_simple_statement only unnamed functions assigned to variables #1015

@jonasar

Description

@jonasar

I would like to ask for the feature to be able to collapse all simple unnamed functions assigned to something,
but not declarations of named functions.

Examples

Collapse this
createSomething(5, 2, function() return true end, 3)

local myCallback = function(value) return 2*value end

Do not collapse this
function MyTable:getvalue()
return self.LastValue
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions