Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local functions are not respected any line_space_after_* #196

Open
TIMONz1535 opened this issue Mar 2, 2025 · 0 comments
Open

Local functions are not respected any line_space_after_* #196

TIMONz1535 opened this issue Mar 2, 2025 · 0 comments

Comments

@TIMONz1535
Copy link

TIMONz1535 commented Mar 2, 2025

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



}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants