Add editorconfig to fix tab width on github

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-01-12 19:25:51 +00:00
parent 42cd727166
commit a51f2cdedf

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Set tab indentation
[*.{c,h}]
indent_style = tab
indent_size = 4
max_line_length = 80