-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.lua-format
33 lines (33 loc) · 970 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: 100
indent_width: 1
use_tab: true
tab_width: 2
continuation_indent_width: 1
keep_simple_control_block_one_line: true
keep_simple_function_one_line: false
align_args: false
break_after_functioncall_lp: false
break_before_functioncall_rp: true
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: true
chop_down_kv_table: true
column_table_limit: 100
table_sep: ","
extra_sep_at_table_end: true
break_after_operator: true
single_quote_to_double_quote: false
double_quote_to_single_quote: true
spaces_before_call: 1
spaces_inside_functiondef_parens: false
spaces_inside_functioncall_parens: false
spaces_inside_table_braces: true
spaces_around_equals_in_field: true
line_breaks_after_function_body: 1
line_separator: input