Add LuaFormatter config

This commit is contained in:
Wil Thomason 2020-07-08 23:12:50 -04:00
parent edfab0d155
commit a375e6457d
No known key found for this signature in database
GPG Key ID: 49B3E4A714642E1D
1 changed files with 26 additions and 0 deletions

26
.lua-format Normal file
View File

@ -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: false
break_after_table_lb: true
break_before_functioncall_rp: true
break_before_functiondef_rp: true
break_before_table_rb: true
chop_down_kv_table: true
chop_down_parameter: true
chop_down_table: false
column_limit: 100
column_table_limit: 100
continuation_indent_width: 2
double_quote_to_single_quote: false
extra_sep_at_table_end: false
indent_width: 2
keep_simple_control_block_one_line: true
keep_simple_function_one_line: true
single_quote_to_double_quote: false
spaces_before_call: 1
tab_width: 2
table_sep: ','
use_tab: false