-
Notifications
You must be signed in to change notification settings - Fork 79
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
Odd indenting that goes away once ran twice #290
Labels
bug
Something isn't working
Comments
Another odd style change with multiple functions: return function()
if overrides == nil then
setupOverrides()
end
if overrides[key] == nil then
return value
end
return overrides[key]
end, function(callback)
overrideWatchers[key] = callback
end ...gets formatted into return function()
if overrides == nil then
setupOverrides()
end
if overrides[key] == nil then
return value
end
return overrides[key]
end,
function(callback)
overrideWatchers[key] = callback
end
|
First example can be narrowed down further into something unrelated to functions: local foo = foo(
foo,
bar
)
local bar = foo(
foo,
bar
) seems to be caused by the extra newline in between the arguments, possibly related to #169 |
#290 (comment) going to open another issue for this - as its unrelated to the current issue, and theres a bit more to it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...gets formatted the first time to:
...until being replaced with the best result:
The text was updated successfully, but these errors were encountered: