Add .editorconfig

This commit is contained in:
endoffile78 2017-12-24 00:58:59 -06:00
parent a3a22ae67e
commit df40fd8db0
No known key found for this signature in database
GPG Key ID: 612563BFF925E0C3

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{c,h}]
indent_style = space
indent_size = 4
[*.{yml,sh,cmake}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
indent_size = 4
[CMakeLists.txt]
indent_style = space
indent_size = 2