Add .editorconfig.

This commit is contained in:
Brian Smith 2017-03-21 21:32:40 -10:00
parent 538a61b205
commit 9431db2a8f

19
.editorconfig Normal file
View File

@ -0,0 +1,19 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{c,cc,h,inl}]
indent_size = 2
[*.{py,rs,toml}]
indent_size = 4
[*.pl]
trim_trailing_whitespace = false
indent_style = tab
indent_size = 4