aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-07-07 18:23:23 +0200
committerKim Alvefur <zash@zash.se>2020-07-07 18:23:23 +0200
commitb80f21281375a2abe2d07f6c61517eada5aa4f20 (patch)
treece96a205ace9ea359491f9a3e162c933bd9b075d
parent39c96672e2540c79ee03fea7bb82a54fac3f7cf2 (diff)
downloadprosody-b80f21281375a2abe2d07f6c61517eada5aa4f20.tar.gz
prosody-b80f21281375a2abe2d07f6c61517eada5aa4f20.zip
lua-format: Tweaks attempting to fit our code style
-rw-r--r--.lua-format24
1 files changed, 12 insertions, 12 deletions
diff --git a/.lua-format b/.lua-format
index 31f7e54b..f2cd96af 100644
--- a/.lua-format
+++ b/.lua-format
@@ -1,26 +1,26 @@
-align_args: true
-align_parameter: true
+align_args: false
+align_parameter: false
align_table_field: true
break_after_functioncall_lp: false
break_after_functiondef_lp: false
-break_after_operator: true
+break_after_operator: false
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: false
-column_limit: 80
-column_table_limit: 80
-continuation_indent_width: 4
+chop_down_table: true
+column_limit: 150
+column_table_limit: 120
+continuation_indent_width: 1
double_quote_to_single_quote: false
-extra_sep_at_table_end: false
-indent_width: 4
+extra_sep_at_table_end: true
+indent_width: 1
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: ','
-tab_width: 4
-use_tab: false
+table_sep: ","
+tab_width: 1
+use_tab: true