StyLua
StyLua copied to clipboard
Feature request: collapse_simple_statement only unnamed functions assigned to variables
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