From 4e75fccb7d26ec0ac59c0727116a8e55afee4f38 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Thu, 11 Sep 2014 04:05:19 +0400 Subject: [PATCH] Fix .editorconfig 1. For makefiles indentation is 2. For markdown files whitespace shouldn't be trimmed --- .editorconfig | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6abd8d5..d1deb2c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,19 @@ -# Cross-editor coding style settings. -# See http://editorconfig.org/ for details. - root = true [*] charset = utf-8 -indent_style = space -indent_size = 2 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true + +[{.,}*.{js{,*},y{a,}ml}] +indent_style = space +indent_size = 2 + +[*.{md,txt}] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab