lua-fmt
lua-fmt copied to clipboard
Fix indentation of functions that receive tables
This pull request fixes this issue that I reported in October: https://github.com/trixnz/lua-fmt/issues/35 Credits to Arpple for providing the code that fixed the issue in this comment: https://github.com/trixnz/lua-fmt/issues/35#issuecomment-430600174
Before:
instance =
MyClass.new(
{
arguments
}
)
After:
instance = MyClass.new(
{
arguments
}
)