Add .editorconfig file

This commit is contained in:
Scott Lahteine 2020-02-08 17:39:04 -06:00
parent f55abfeb95
commit 5d3cfbdc9b
1 changed files with 19 additions and 0 deletions

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
# editorconfig.org
root = true
[{*.patch,syntax_test_*}]
trim_trailing_whitespace = false
[{*.c,*.cpp,*.h}]
charset = utf-8
[{*.c,*.cpp,*.h,Makefile}]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
indent_style = space
indent_size = 2
[{*.py,*.conf,*.sublime-project}]
indent_style = tab
indent_size = 4