add editorconfig file to give hints to editors

We use an unusual indent of three spaces. Let's give editors a hint
about that.
This commit is contained in:
Christian Hesse 2015-10-05 11:13:17 +02:00
parent 68c3270be8
commit 1cda2d7397
1 changed files with 16 additions and 0 deletions

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
# EditorConfig configuration for htop
# http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file, utf-8 charset
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
# match C source and header files, set indent to three spaces
[*.{c,h}]
indent_style = space
indent_size = 3