From f08c9dd147594cddb7f8019711cb98f70061226a Mon Sep 17 00:00:00 2001 From: dead_horse Date: Tue, 25 Nov 2014 11:44:18 +0800 Subject: [PATCH] update editorconfig --- .editorconfig | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index a751162..4df166d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,17 @@ +# http://editorconfig.org root = true [*] -end_of_line = lf -insert_final_newline = true - -[*.{js,py}] -charset = utf-8 indent_style = space indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab +