LuaFormatter
LuaFormatter copied to clipboard
align-table-field not follow "use-tab"
This is the test file:
local t = {
"a very long statement ------------------------------------", "a very long statement ------------------------------------"
}
Then I format with these arguments:
lua-format --use-tab --indent-width=1 --align-table-field test.lua | cat -A
final output:
local t = {$
^I"a very long statement ------------------------------------",$
"a very long statement ------------------------------------"$
}$
The first field use one tab indent as expected, but the second field is indented with a space.