We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I declare a function after an operator, like this:
local action = params.action or function() doStuff() end
...lua-fmt formats it like this:
It seems like the more operators I add, the weirder the indentation gets. For example: Before:
local action = params.action or 1 and 1 and 2 or 5 and 10 and 2 + function() doStuff() end
After:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I declare a function after an operator, like this:
...lua-fmt formats it like this:
It seems like the more operators I add, the weirder the indentation gets. For example:
Before:
After:
The text was updated successfully, but these errors were encountered: