.editorconfig 449 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# 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
14
[*.{c,cxx,cpp,h,hxx,hpp,java,m,mm,py,swift,xsl}]
15 16 17 18 19 20 21 22 23 24 25
indent_style = space
indent_size = 4

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

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