EmmyLuaCodeStyle icon indicating copy to clipboard operation
EmmyLuaCodeStyle copied to clipboard

Local functions are not respected any line_space_after_*

Open TIMONz1535 opened this issue 8 months ago • 0 comments
trafficstars

local function expression is not affected by line_space_after_function_statement, or either line_space_after_local_or_assign_statement

local a = 1 -- line_space_after_local_or_assign_statement = fixed(1)
local Func = function() end -- line_space_after_local_or_assign_statement = fixed(1)
function Func2() end -- line_space_after_function_statement = fixed(1)
local function Func2() end -- nothing




local b

I expect line_space_after_function_statement will affect the number of spaces after local function Func2() end


The tables also are not affected in any way to any line_space_after_*. There is auto_collapse_lines but I just want to squish lines, not collapse the values.

local t = {



	"opaque_mesh",



	"transparent_mesh",



}

TIMONz1535 avatar Mar 02 '25 08:03 TIMONz1535