# HG changeset patch # User Kim Alvefur # Date 1701366305 -3600 # Node ID 81ae5e12550f3a821e2825c19c9353431029fd5c # Parent 925ac5a6762df565be2b5a2e79f4bef7018993f4 lua-format: Let simple things be one line This doesn't really handle nesting all that nicely tho. diff -r 925ac5a6762d -r 81ae5e12550f .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