From: Tobias Angele Date: Tue, 28 Feb 2017 00:52:01 +0000 (+0100) Subject: editorconfig: support for new files, fix whitespace (#439) X-Git-Tag: neomutt-20170306~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=873b23616915242d429842f119b25f474376fa4d;p=neomutt editorconfig: support for new files, fix whitespace (#439) * Our code contains a lot of whitespace issues, so every commit is polluted by whitespace changes with the current editorconfig * Add support for makefiles, xml, vim and yml files, etc. pp. --- diff --git a/.editorconfig b/.editorconfig index b101e5533..f6e14ca14 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,18 +4,18 @@ root = true end_of_line = lf insert_final_newline = true charset = utf8 -trim_trailing_whitespace = true +trim_trailing_whitespace = false -[*.{c,h}] +# those two settings may be overwritten below. indent_size = 2 indent_style = space + + [ChangeLog.neomutt] -indent_style = space indent_size = 1 -[configure] -indent_size = 2 -indent_style = space - +[{[mM]akefile*,*.am}] +indent_size = 4 +indent_style = tab