-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.editorconfig
51 lines (44 loc) · 1.38 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
# Configuration file for EditorConfig
# More information is available at https://EditorConfig.org
# Ignore any other EditorConfig files further up in the file system
root = true
# Configuration for all files
[*]
end_of_line = lf
insert_final_newline = true
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
charset = utf-8
[*.py]
indent_size = 4
[*.md]
trim_trailing_whitespace = false
# Configuration for C/C++ files
[*.{c,cc,cpp,cxx,h,hh,hpp,hxx}]
max_line_length = 100
# Configuration for CMake files
[{CMakeLists.txt,*.cmake}]
indent_size = 2
max_line_length = 100
ij_any_align_multiline_parameters_in_calls = true
ij_continuation_indent_size = 4
ij_cmake_align_multiline_parameters_in_calls = true
ij_cmake_force_commands_case = 1
ij_cmake_indent_size = 2
ij_cmake_keep_blank_lines_in_code = 2
ij_cmake_space_before_for_parentheses = false
ij_cmake_space_before_if_parentheses = false
ij_cmake_space_before_method_call_parentheses = false
ij_cmake_space_before_method_parentheses = false
ij_cmake_space_before_while_parentheses = false
ij_cmake_spaces_within_for_parentheses = false
ij_cmake_spaces_within_if_parentheses = false
ij_cmake_spaces_within_method_call_parentheses = false
ij_cmake_spaces_within_method_parentheses = false
ij_cmake_spaces_within_while_parentheses = false
# Configuration for Makefiles
[Makefile]
indent_style = tab
indent_size = 4
max_line_length = 100