Open
Description
Hi,
I encountered some strange table formating:
$ cat /tmp/sampletable.lua
local sometable = {
-- TODO
}
$ luaformatter /tmp/sampletable.lua
local sometable = {
-- TODO
}
It is different when there is a value in table:
$ cat /tmp/sampletablewithvalue.lua
local sometable = {
-- TODO
42
}
$ luaformatter /tmp/sampletablewithvalue.lua
local sometable = {
-- TODO
42
}
It would be nice to have consistent formating.
Kevin