You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localfunctionfoo(...) endlocalfunctionlong_function_name() endlocalfunctiontest()
return'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..foo(long_function_name())
end
In the above example, concatenate another 'test' and run the formatter. It will break the function call as:
localfunctionfoo(...) endlocalfunctionlong_function_name() endlocalfunctiontest()
return'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..'test'..foo(
long_function_name()
)
end
I don't know if it's a bug or not, but this seems like a weird edge case.
The text was updated successfully, but these errors were encountered:
.stylua.toml
:Example code:
In the above example, concatenate another
'test'
and run the formatter. It will break the function call as:I don't know if it's a bug or not, but this seems like a weird edge case.
The text was updated successfully, but these errors were encountered: