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

Declaring a local variable with the variable name >1 line away causes malformed formatting #169

Open
ok-nick opened this issue May 24, 2021 · 0 comments
Labels
bug Something isn't working hard Issue is difficult to solve

Comments

@ok-nick
Copy link

ok-nick commented May 24, 2021

Try formatting this function

local function foo()
	local
	
	bar = 'baz'
end

It will result in this

local function foo()
	local
bar = 'baz'
end

Where it should result in this

local function foo()
	local bar = 'baz'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hard Issue is difficult to solve
Projects
None yet
Development

No branches or pull requests

2 participants