Add .editorconfig

This is not a complete replacement for clang-format, but it'll at least
set people's tab widths correctly.
This commit is contained in:
Drew DeVault 2019-10-08 10:57:22 -04:00 committed by Jakob Bornecrantz
parent 202d1d72aa
commit 82718d9aaf

14
.editorconfig Normal file
View file

@ -0,0 +1,14 @@
# To use this config on you editor, follow the instructions at:
# http://editorconfig.org
root = true
[*]
charset = utf-8
insert_final_newline = true
tab_width = 8
[*.{c,h,cpp}]
indent_style = tab
indent_size = 8
max_line_length = 80