-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.editorconfig
87 lines (70 loc) · 1.97 KB
/
.editorconfig
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.lua]
# https://github.com/CppCXY/EmmyLuaCodeStyle/blob/master/docs/format_config_EN.md
# =========
# = Basic =
# =========
indent_style = space
indent_size = 4
# none/single/double
quote_style = double
# keep/remove/remove_table_only/remove_string_only
call_arg_parentheses = keep
# Max expr before line wrap
continuation_indent = 4
max_line_length = 120
end_of_line = crlf
# keep/never/always/smart
trailing_table_separator = keep
detect_end_of_line = false
insert_final_newline = true
# ==============
# = Whitespace =
# ==============
space_around_table_field_list = true
space_before_attribute = true
space_before_function_open_parenthesis = false
space_before_function_call_open_parenthesis = false
space_before_closure_open_parenthesis = false
space_before_function_call_single_arg = true
space_before_open_square_bracket = false
# space_inside_function_call_parentheses =
# space_inside_function_param_list_parentheses =
# space_inside_square_brackets =
space_around_table_append_operator = false
# ignore_spaces_inside_function_call =
space_before_inline_comment = true
# = Operator =
space_around_math_operator = true
space_after_comma = true
space_after_comma_in_for_statement = true
space_around_concat_operator = false
# = Alignment =
align_call_args = true
align_function_params = true
align_continuous_assign_statement = true
align_continuous_rect_table_field = true
align_if_branch = true
align_array_table = true
# = Other =
# never_indent_before_if_condition =
# never_indent_comment_on_if_branch =
# ==============
# = Line break =
# ==============
break_all_list_when_line_exceed = false
auto_collapse_lines = false
# ===============
# = Preferences =
# ===============
# ignore_space_after_colon =
remove_call_expression_list_finish_comma = false
# keep/always/same_line/replace_with_newline
end_statement_with_semicolon = keep