From 1cda2d73976e5c7cfccdfb67254ad46b7d280ae9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 5 Oct 2015 11:13:17 +0200 Subject: [PATCH] add editorconfig file to give hints to editors We use an unusual indent of three spaces. Let's give editors a hint about that. --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig 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