From 39c96672e2540c79ee03fea7bb82a54fac3f7cf2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 7 Jul 2020 18:30:15 +0200 Subject: lua-format: Check in defaults By starting with the built-in defaults, we get a nice history of differences from those as we figure out what settings suit us Sorted make comparisons easier. --- .lua-format | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .lua-format diff --git a/.lua-format b/.lua-format new file mode 100644 index 00000000..31f7e54b --- /dev/null +++ b/.lua-format @@ -0,0 +1,26 @@ +align_args: true +align_parameter: true +align_table_field: true +break_after_functioncall_lp: false +break_after_functiondef_lp: false +break_after_operator: true +break_after_table_lb: true +break_before_functioncall_rp: false +break_before_functiondef_rp: false +break_before_table_rb: true +chop_down_kv_table: true +chop_down_parameter: false +chop_down_table: false +column_limit: 80 +column_table_limit: 80 +continuation_indent_width: 4 +double_quote_to_single_quote: false +extra_sep_at_table_end: false +indent_width: 4 +keep_simple_control_block_one_line: true +keep_simple_function_one_line: true +single_quote_to_double_quote: false +spaces_before_call: 1 +table_sep: ',' +tab_width: 4 +use_tab: false -- cgit v1.2.3