diff options
author | Christian Hesse <mail@eworm.de> | 2015-10-05 11:13:17 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-10-05 11:13:17 +0200 |
commit | 1cda2d73976e5c7cfccdfb67254ad46b7d280ae9 (patch) | |
tree | 39077e69cb3fb0bf254951694c48b64bb6500ecf /.editorconfig | |
parent | 68c3270be82e59d01d45d8ee26d034897c40063a (diff) |
add editorconfig file to give hints to editors
We use an unusual indent of three spaces. Let's give editors a hint
about that.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..18807892 --- /dev/null +++ b/.editorconfig @@ -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 |