StyLua
StyLua copied to clipboard
Comments right above an `else` or `elseif` clause should not be indented
Currently, stylua wrongly indents comments right above an else clause, like this:
-- Check for condition
if condition then
print("Condition satisfied")
-- Otherwise
else
print("Condition not satisfied")
end
The expected output should be:
-- Check for condition
if condition then
print("Condition satisfied")
-- Otherwise
else
print("Condition not satisfied")
end