Skip to content

Commit 6c1a954

Browse files
committed
config(editorconfig): Add more file types
1 parent 210fffc commit 6c1a954

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.editorconfig

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
1+
# EditorConfig file: http://EditorConfig.org
12
root = true
23

3-
[*.{c,h,d,di,dd}]
4+
[*]
5+
charset = utf-8
46
end_of_line = lf
57
insert_final_newline = true
8+
trim_trailing_whitespace = true
69
indent_style = space
10+
indent_size = 2
11+
max_line_length = 80
12+
13+
[*.{d,h,hpp,c,cpp,cxx,cs,hs,java,kt,py,rs,sol}]
714
indent_size = 4
8-
trim_trailing_whitespace = true
9-
charset = utf-8
15+
16+
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
17+
indent_style = tab
18+
indent_size = 4
19+
20+
[{CMakeLists.txt,*.cmake}]
21+
indent_size = 2
22+
indent_style = space

0 commit comments

Comments
 (0)