-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
77 lines (75 loc) · 2.55 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
# see https://github.com/CppCXY/EmmyLuaCodeStyle
[*.lua]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
tab_width = 2
quote_style = double
continuation_indent = 2
continuation_indent.before_block = 2
continuation_indent.in_expr = 2
continuation_indent.in_table = 2
max_line_length = 150
table_separator_style = comma
trailing_table_separator = smart
call_arg_parentheses = keep
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 = false
space_before_function_call_single_arg.table = false
space_before_function_call_single_arg.string = false
space_before_open_square_bracket = false
space_inside_function_call_parentheses = false
space_inside_function_param_list_parentheses = false
space_inside_square_brackets = false
space_around_table_append_operator = false
ignore_spaces_inside_function_call = false
space_before_inline_comment = 1
space_after_comment_dash = true
space_around_math_operator = true
space_around_math_operator.exponent = false
space_after_comma = true
space_after_comma_in_for_statement = true
space_around_concat_operator = true
space_around_logical_operator = true
space_around_assign_operator = true
align_call_args = false
align_function_params = false
align_continuous_assign_statement = false
align_continuous_rect_table_field = false
align_continuous_line_space = 2
align_if_branch = false
align_array_table = false
align_continuous_similar_call_args = false
align_continuous_inline_comment = false
align_chain_expr = false
never_indent_before_if_condition = false
never_indent_comment_on_if_branch = false
keep_indents_on_empty_lines = false
allow_non_indented_comments = false
# The following configuration supports four expressions
# keep
# fixed(n)
# min(n)
# max(n)
# for eg. min(2)
line_space_after_if_statement = fixed(2)
line_space_after_do_statement = fixed(2)
line_space_after_while_statement = fixed(2)
line_space_after_repeat_statement = fixed(2)
line_space_after_for_statement = fixed(2)
line_space_after_local_or_assign_statement = max(2)
line_space_after_function_statement = fixed(2)
line_space_after_expression_statement = max(2)
line_space_after_comment = max(2)
line_space_around_block = fixed(1)
break_all_list_when_line_exceed = true
auto_collapse_lines = false
break_before_braces = false
ignore_space_after_colon = false
remove_call_expression_list_finish_comma = true
end_statement_with_semicolon = replace_with_newline