From a51f2cdedf0efa6928ac781f10202331bcef5cfe Mon Sep 17 00:00:00 2001 From: Mahyar Koshkouei Date: Thu, 12 Jan 2017 19:25:51 +0000 Subject: [PATCH] Add editorconfig to fix tab width on github Signed-off-by: Mahyar Koshkouei --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e9804a9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Set tab indentation +[*.{c,h}] +indent_style = tab +indent_size = 4 +max_line_length = 80