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
Say I write something like this:
local foo = (if true then 0 else 1) + 1 print(foo)
This will print 1.
1
However, when running stylua, it will remove the parentheses:
local foo = if true then 0 else 1 + 1 print(foo)
This will print 0.
0
Tested with stylua 0.11.3 installed via foreman, with the default config.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Say I write something like this:
This will print
1
.However, when running stylua, it will remove the parentheses:
This will print
0
.Tested with stylua 0.11.3 installed via foreman, with the default config.
The text was updated successfully, but these errors were encountered: