Add .editorconfig file to match clang-format

This commit is contained in:
Lassi Kortela 2019-08-09 14:03:13 +03:00
parent 6a6a7071a9
commit b128aee83d
1 changed files with 16 additions and 0 deletions

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
root = true
[*]
charset = utf-8
tab_width = 8
end_of_line = lf
max_line_length = 78
insert_final_newline = true
trim_trailing_whitespace = true
[*.[ch]]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab