Skip to content

Local functions are not respected any line_space_after_* #196

@TIMONz1535

Description

@TIMONz1535

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",



}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions