-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
114 lines (102 loc) · 2.61 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# see https://github.com/CppCXY/EmmyLuaCodeStyle/blob/master/docs/format_config_EN.md
[*.lua]
# [basic]
# none/single/double
quote_style = single
# this mean utf8 length , if this is 'unset' then the line width is no longer checked
# this option decides when to chopdown the code
max_line_length = 120
# optional crlf/lf/cr/auto, if it is 'auto', in windows it is crlf other platforms are lf
# in neovim the value 'auto' is not a valid option, please use 'unset'
# end_of_line = auto
#optional keep/never/always/smart
trailing_table_separator = smart
# keep/remove/remove_table_only/remove_string_only
call_arg_parentheses = keep
# this will check text end with new line
insert_final_newline = true
# [space]
# space_around_table_field_list = true
#
# space_before_attribute = false
#
# space_before_function_open_parenthesis = false
#
# space_before_function_call_open_parenthesis = false
#
# space_before_closure_open_parenthesis = false
#
# # optional always/only_string/only_table/none
# # or true/false
# space_before_function_call_single_arg = always
#
# space_before_open_square_bracket = false
#
# space_inside_function_call_parentheses = false
#
# space_inside_function_param_list_parentheses = false
#
# space_inside_square_brackets = false
#
# # like t[#t+1] = 1
# space_around_table_append_operator = false
#
# ignore_spaces_inside_function_call = false
#
# space_before_inline_comment = 1
# [operator space]
# space_around_math_operator = true
#
# space_after_comma = true
#
# space_after_comma_in_for_statement = true
#
# space_around_concat_operator = true
# [align]
align_call_args = false
align_function_params = false
align_continuous_assign_statement = false
align_continuous_rect_table_field = false
align_if_branch = false
align_array_table = false
align_continuous_inline_comment = false
# [indent]
# never_indent_before_if_condition = false
# never_indent_comment_on_if_branch = false
#
# # [line space]
#
# # The following configuration supports four expressions
# # keep
# # fixed(n)
# # min(n)
# # max(n)
# # for eg. min(2)
#
# line_space_after_if_statement = keep
#
# line_space_after_do_statement = keep
#
# line_space_after_while_statement = keep
#
# line_space_after_repeat_statement = keep
#
# line_space_after_for_statement = keep
#
# line_space_after_local_or_assign_statement = keep
#
# line_space_after_function_statement = fixed(2)
#
# line_space_after_expression_statement = keep
#
# line_space_after_comment = keep
#
# # [line break]
# break_all_list_when_line_exceed = false
#
# auto_collapse_lines = false
#
# # [preference]
# ignore_space_after_colon = false
#
# remove_call_expression_list_finish_comma = false