summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 6eb0702a25a0cb9afdabe7cb3c12853646f5ff3a (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
28
29
30
31
32
33
34
35
# To use this config on you editor, follow the instructions at:
# http://editorconfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true
tab_width = 8

[*.{c,h,cpp,hpp,cc,hh}]
indent_style = space
indent_size = 3

[{Makefile*,*.mk}]
indent_style = tab

[{*.py,SCons*}]
indent_style = space
indent_size = 4

[*.pl]
indent_style = space
indent_size = 4

[*.m4]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[*.patch]
trim_trailing_whitespace = false