-
Notifications
You must be signed in to change notification settings - Fork 0
/
luaformatter.yml
51 lines (36 loc) · 935 Bytes
/
luaformatter.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Indent
indent_width: 2
use_tab: false
continuation_indent_width: 2
# Code block
keep_simple_control_block_one_line: false
# Define function
keep_simple_function_one_line: false
# break_after_functiondef_lp: true
# break_before_functiondef_rp: true
# Call function
break_after_functioncall_lp: false
break_before_functioncall_rp: false
# Paramters
align_parameter: false
chop_down_parameter: false
# Table
align_table_field: true
chop_down_table: true
chop_down_kv_table: true
# break_after_table_lb: true
# break_before_table_rb: true
extra_sep_at_table_end: true
# Expression
# break_after_operator: true
# String
double_quote_to_single_quote: true
single_quote_to_double_quote: false
# Spaces
# spaces_inside_functiondef_parens: true
spaces_inside_functiondcall_parens: true
spaces_before_call: 1
# spaces_inside_table_braces: true
spaces_around_equals_in_field: true
# New line
# line_breaks_after_function_body: 2