-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lua-format
33 lines (33 loc) · 974 Bytes
/
.lua-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# https://github.com/Koihik/LuaFormatter/blob/master/docs/Style-Config.md
column_limit: 120
indent_width: 4
use_tab: false
tab_width: 4
continuation_indent_width: 8
spaces_before_call: 1
keep_simple_control_block_one_line: false
keep_simple_function_one_line: false
align_args: true
break_after_functioncall_lp: false
break_before_functioncall_rp: false
spaces_inside_functioncall_parens: false
spaces_inside_functiondef_parens: false
align_parameter: false
chop_down_parameter: false
break_after_functiondef_lp: false
break_before_functiondef_rp: false
align_table_field: true
break_after_table_lb: true
break_before_table_rb: true
chop_down_table: false
chop_down_kv_table: true
table_sep: ","
column_table_limit: 120
extra_sep_at_table_end: false
spaces_inside_table_braces: false
break_after_operator: false
double_quote_to_single_quote: false
single_quote_to_double_quote: false
spaces_around_equals_in_field: true
line_breaks_after_function_body: 1
line_separator: lf