add .editorconfig

EditorConfig is very well known config file for text editors/IDE's
with settings for project. This format supported by Vim, GNOME Builder,
Atom, Sublime and many others.

We will provide this configuration to be more friendly for newcomers.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2016-01-24 23:57:51 +01:00
parent db307d8e96
commit f9f6b563aa
1 changed files with 14 additions and 0 deletions

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
[*.[ch]]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true
[*.sym]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true