Closed ltWolfik closed 2 years ago
For the next code:
local function error_msg(s, fmt, ...) s:println("error: " .. string.format(fmt, ...)) end
Formatting results in the following (strange a lot spaces before fmt arg):
fmt
local function error_msg(s, fmt, ...) s:println("error: " .. string.format( fmt, ...)) end
I have the following settings in .editorconfig for lua:
.editorconfig
lua
indent_style = tab indent_size = 4 keep_one_space_between_table_and_bracket = false align_call_args = true continuous_assign_statement_align_to_equal_sign = false continuous_assign_table_field_align_to_equal_sign = false end_of_line = lf max_line_length = 80 insert_final_newline = false
Ok, I see this bug
For the next code:
Formatting results in the following (strange a lot spaces before
fmt
arg):I have the following settings in
.editorconfig
forlua
: