From 1f67f1170cee16feeb2f484f47e473de6dce00e0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 30 Nov 2023 18:45:05 +0100 Subject: lua-format: Let simple things be one line This doesn't really handle nesting all that nicely tho. --- .lua-format | 4 ++-- 1 file 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 -- cgit v1.2.3