Changeset

13377:81ae5e12550f

lua-format: Let simple things be one line This doesn't really handle nesting all that nicely tho.
author Kim Alvefur <zash@zash.se>
date Thu, 30 Nov 2023 18:45:05 +0100
parents 13376:925ac5a6762d
children 13379:977d92aff563
files .lua-format
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.lua-format	Wed Jan 18 18:35:24 2023 +0100
+++ b/.lua-format	Thu Nov 30 18:45:05 2023 +0100
@@ -17,8 +17,8 @@
 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