]> granicus.if.org Git - neomutt/commitdiff
editorconfig: support for new files, fix whitespace (#439)
authorTobias Angele <toogley@mailbox.org>
Tue, 28 Feb 2017 00:52:01 +0000 (01:52 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 28 Feb 2017 00:52:01 +0000 (00:52 +0000)
* 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.

.editorconfig

index b101e5533d9af6673f6689021c40659547724b01..f6e14ca140321d3e1ca3e91691eebd35783a2206 100644 (file)
@@ -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