forked from opentibiabr/canary
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
52 lines (44 loc) · 950 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
root = true
# General configuration
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
# C/C++
[*.{cpp,hpp,h}]
indent_style = tab
indent_size = 2
# CMake
[CMakeLists.txt]
indent_style = space
indent_size = 2
# XML
[*.xml]
indent_style = tab
indent_size = 2
tab_width = 2
# YAML, JSON, SQL
[*.{yml,yaml,yamllint,json,sql}]
indent_style = space
indent_size = 2
[*.lua]
# do this to prevent breaking long lines
max_line_length = 400
break_all_list_when_line_exceed = false
space_around_table_append_operator = true
# [indent]
indent_style = tab
indent_size = 2
tab_width = 2
# [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_similar_call_args = false
align_continuous_inline_comment = false
align_chain_expr = none