Skip to content

Commit b293f98

Browse files
authored
Update editorconfig for c++ (#3586)
* Make it easier to contribute: Add c++ configuration for .editorconfig. Using the observed style with 2 indentation spaces. Signed-off-by: Henner Zeller <[email protected]> * Add hzeller to contributors.txt Signed-off-by: Henner Zeller <[email protected]>
1 parent adec47c commit b293f98

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.editorconfig

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ charset = utf-8
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010
indent_style = tab
11-
ij_java_else_on_new_line = true
11+
ij_java_else_on_new_line = true
12+
13+
[*.{h,cpp}]
14+
charset = utf-8
15+
insert_final_newline = true
16+
trim_trailing_whitespace = true
17+
indent_style = space
18+
indent_size = 2

contributors.txt

+1
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,4 @@ YYYY/MM/DD, github id, Full name, email
327327
2021/12/25, Tinker1024, Tinker1024, [email protected]
328328
2021/12/31, Biswa96, Biswapriyo Nath, [email protected]
329329
2022/03/07, chenquan, chenquan, [email protected]
330+
2022/03/15, hzeller, Henner Zeller, [email protected]

0 commit comments

Comments
 (0)