lua-fmt
lua-fmt copied to clipboard
Option for simple single line functions formatting
I use https://github.com/trixnz/vscode-lua to format my code in visual studio code which uses your module.
-- sometimes i code simple methods like this in one line
function foo() return 10 end
-- when i format my code the function is getting formatted like this.
-- i would like to disable this behavior. is this possible?
function foo()
return 10
end