lua-format: Let simple things be one line
authorKim Alvefur <zash@zash.se>
Thu, 30 Nov 2023 18:45:05 +0100
changeset 13381 81ae5e12550f
parent 13380 925ac5a6762d
child 13383 977d92aff563
lua-format: Let simple things be one line This doesn't really handle nesting all that nicely tho.
.lua-format
--- 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