LuaFormatter
LuaFormatter copied to clipboard
Option `space_inside_table_braces` should only apply to single-lines
spaces_inside_table_braces
type: bool, default: false
Inserts spaces inside the braces in a table constructor.
Current behaviour:
-- original
x = {1, 2, 3}
point = {
x = 1,
y = 2
}
-- transformed
x = { 1, 2, 3 }
point = {
x = 1,
y = 2
} -- extra space
Expected behaviour:
-- transformed
x = { 1, 2, 3 }
point = {
x = 1,
y = 2
}