Skip to content

Commit 886976a

Browse files
author
Konstantin Nazarov
committed
Add editorconfig to configure indents
1 parent 549058d commit 886976a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
9+
[CMakeLists.txt]
10+
indent_style = space
11+
indent_size = 4
12+
13+
[*.cmake]
14+
indent_style = space
15+
indent_size = 4
16+
17+
[*.lua]
18+
indent_style = space
19+
indent_size = 4
20+
21+
[*.{h,c,cc}]
22+
indent_style = tab
23+
tab_width = 8

0 commit comments

Comments
 (0)