summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 0f7094f985bcc9b7e43c303d315fdc8319ede839 (plain)
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
# http://editorconfig.org

root = true

[*.{c,h,cpp,hpp,cc,hh,inl,m,mm,rc}]
indent_style = space
indent_size = 4

[*.py]
indent_style = space
indent_size = 4

[{CMakeLists.txt,*.cmake}]
indent_style = space
indent_size = 4

[*.{markdown,md}]
trim_trailing_whitespace = false

[*.yml]
indent_style = space
indent_size = 2

[{Makefile,*.mk,*.def}]
indent_style = tab
indent_size = 8
tab_width = 8