From e950d46f1f35574ce6064f2e3d7ea363fe3b4ea8 Mon Sep 17 00:00:00 2001 From: chrox Date: Tue, 25 Mar 2014 22:25:26 +0800 Subject: [PATCH] add .editorconfig file --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..50dc06027 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab +indent_size = 8 +