-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
34 lines (27 loc) · 840 Bytes
/
.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
# EditorConfig configuration
# See: https://editorconfig.org
root = true
[*]
indent_style = tab
indent_size = tab
#tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
[*.{json,yml,yaml,md,mdx,c,h,cpp,hpp,cc,hh}]
indent_style = space
indent_size = 2
[*.{json,ppm}]
insert_final_newline = false
[*.{md,mdx}]
trim_trailing_whitespace = false
[*.{lua,rockspec}]
max_line_length = 120
# Custom options for EmmyLuaCodeStyle
# See: https://github.com/CppCXY/EmmyLuaCodeStyle/blob/master/docs/format_config_EN.md
quote_style = single
trailing_table_separator = smart
align_function_params = false
align_continuous_assign_statement = false