diff options
author | Kim Alvefur <zash@zash.se> | 2023-11-30 18:45:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-11-30 18:45:05 +0100 |
commit | 1f67f1170cee16feeb2f484f47e473de6dce00e0 (patch) | |
tree | e2a0ef5a75a4c6826a11812c09f6858a7cea9d73 | |
parent | 7afae2218d12312271ec01236a0f2c83f8fc5cc8 (diff) | |
download | prosody-1f67f1170cee16feeb2f484f47e473de6dce00e0.tar.gz prosody-1f67f1170cee16feeb2f484f47e473de6dce00e0.zip |
lua-format: Let simple things be one line
This doesn't really handle nesting all that nicely tho.
-rw-r--r-- | .lua-format | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.lua-format b/.lua-format index f92ff970..9207ba55 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: false -keep_simple_function_one_line: false +keep_simple_control_block_one_line: true +keep_simple_function_one_line: true line_breaks_after_function_body: 1 line_separator: input single_quote_to_double_quote: false |