lua-fmt icon indicating copy to clipboard operation
lua-fmt copied to clipboard

Fix indentation of functions that receive tables

Open AgentOttsel opened this issue 7 years ago • 0 comments

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
    }
)

AgentOttsel avatar Nov 28 '18 17:11 AgentOttsel