add .editorconfig file

This commit is contained in:
chrox
2014-03-25 22:25:26 +08:00
parent 37e63c2dea
commit e950d46f1f

20
.editorconfig Normal file
View File

@@ -0,0 +1,20 @@
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
indent_size = 8