From 2549ff62ce0d4393b2ec5b9108bab8c197130317 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Tue, 13 Oct 2020 09:38:18 +0300 Subject: [PATCH 1/2] Added: Default format file --- docs/lua-format.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/lua-format.conf diff --git a/docs/lua-format.conf b/docs/lua-format.conf new file mode 100644 index 0000000..7c910f0 --- /dev/null +++ b/docs/lua-format.conf @@ -0,0 +1,25 @@ +align_args: true +align_parameter: true +align_table_field: true +break_after_functioncall_lp: false +break_after_functiondef_lp: false +break_after_operator: true +break_after_table_lb: true +break_before_functioncall_rp: false +break_before_functiondef_rp: false +break_before_table_rb: true +chop_down_kv_table: true +chop_down_parameter: false +chop_down_table: true +column_limit: 80 +column_table_limit: column_limit +continuation_indent_width: 4 +double_quote_to_single_quote: false +extra_sep_at_table_end: false +indent_width: 4 +keep_simple_control_block_one_line: true +keep_simple_function_one_line: true +single_quote_to_double_quote: false +spaces_before_call 1 +table_sep: "," +use_tab: false From 1aaf870806c24c28227d46585d3024a5d966efbb Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Tue, 13 Oct 2020 09:52:29 +0300 Subject: [PATCH 2/2] Fixed Configuration file crash due to missing ":" --- docs/lua-format.conf | 50 ++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/lua-format.conf b/docs/lua-format.conf index 7c910f0..4a8c543 100644 --- a/docs/lua-format.conf +++ b/docs/lua-format.conf @@ -1,25 +1,25 @@ -align_args: true -align_parameter: true -align_table_field: true -break_after_functioncall_lp: false -break_after_functiondef_lp: false -break_after_operator: true -break_after_table_lb: true -break_before_functioncall_rp: false -break_before_functiondef_rp: false -break_before_table_rb: true -chop_down_kv_table: true -chop_down_parameter: false -chop_down_table: true -column_limit: 80 -column_table_limit: column_limit -continuation_indent_width: 4 -double_quote_to_single_quote: false -extra_sep_at_table_end: false -indent_width: 4 -keep_simple_control_block_one_line: true -keep_simple_function_one_line: true -single_quote_to_double_quote: false -spaces_before_call 1 -table_sep: "," -use_tab: false +align_args : true +align_parameter : true +align_table_field : true +break_after_functioncall_lp : false +break_after_functiondef_lp : false +break_after_operator : true +break_after_table_lb : true +break_before_functioncall_rp : false +break_before_functiondef_rp : false +break_before_table_rb : true +chop_down_kv_table : true +chop_down_parameter : false +chop_down_table : true +column_limit : 80 +column_table_limit : column_limit +continuation_indent_width : 4 +double_quote_to_single_quote : false +extra_sep_at_table_end : false +indent_width : 4 +keep_simple_control_block_one_line : true +keep_simple_function_one_line : true +single_quote_to_double_quote : false +spaces_before_call : 1 +table_sep : "," +use_tab : false