summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: be10d26ceddce7d421d643c8d38778903f86be35 (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
# EditorConfig: http://EditorConfig.org

# top-most EditorConfig file
root = true

# General settings
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

# Source code files
[*.{c,cxx,cpp,h,hxx,hpp,java,py}]
indent_style = space
indent_size = 4

# Makefiles
[{Makefile,*.mk}]
indent_style = tab
trim_trailing_whitespace = false

# Patch files
[*.patch.*]
trim_trailing_whitespace = false

# XSL files
[*.xsl]
indent_style = tab