aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-01-18 18:35:24 +0100
committerKim Alvefur <zash@zash.se>2023-01-18 18:35:24 +0100
commit7afae2218d12312271ec01236a0f2c83f8fc5cc8 (patch)
tree93c4f1ff6b76ae3df581808ea427dab20060e722
parentde20f810d37b503b0bd952d6be737d9ef6239599 (diff)
downloadprosody-7afae2218d12312271ec01236a0f2c83f8fc5cc8.tar.gz
prosody-7afae2218d12312271ec01236a0f2c83f8fc5cc8.zip
lua-format: Further tweaks
Keeping things a single line makes very deeply nested things "pyramids" a single line, which makes them hard to read.
-rw-r--r--.lua-format6
1 files changed, 3 insertions, 3 deletions
diff --git a/.lua-format b/.lua-format
index 58e4eac8..f92ff970 100644
--- a/.lua-format
+++ b/.lua-format
@@ -17,8 +17,8 @@ continuation_indent_width: 1
double_quote_to_single_quote: false
extra_sep_at_table_end: true
indent_width: 1
-keep_simple_control_block_one_line: true
-keep_simple_function_one_line: true
+keep_simple_control_block_one_line: false
+keep_simple_function_one_line: false
line_breaks_after_function_body: 1
line_separator: input
single_quote_to_double_quote: false
@@ -27,6 +27,6 @@ spaces_before_call: 1
spaces_inside_functioncall_parens: false
spaces_inside_functiondef_parens: false
spaces_inside_table_braces: true
-table_sep: ","
tab_width: 1
+table_sep: ";"
use_tab: true