-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
40 lines (33 loc) · 846 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
# Note: you should install EditorConfig MSVC extension to make it work:
# https://marketplace.visualstudio.com/items?itemName=EditorConfigTeam.EditorConfig
# It will enable proper style of indentation only for TheDarkMod solution.
root = true
# the main style: C/C++ source files
[**/*.{cpp,c,h}]
indent_style = tab
indent_size = 4
end_of_line = lf
# shader files
[**/*.{fs,vs,gs,glsl}]
indent_style = tab
indent_size = 4
end_of_line = lf
# files managed by MSVC
[**/{*.vcxproj,*.vcxproj.*,*.props,*.natvis}]
indent_style = space
indent_size = 2
end_of_line = crlf
[**/*.sln]
indent_style = tab
indent_size = 2
end_of_line = crlf
# python source code
[**/{SConscript,SConscript.*,*.py}]
indent_style = tab
indent_size = 4
end_of_line = lf
# CMake scripts
[**/{CMakeLists.txt,*.cmake}]
indent_style = tab
indent_size = 4
end_of_line = lf