mercurial: add .t files to .editorconfig
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 07 Jun 2018 16:19:18 -0700
changeset 38281 1d6066336d7b
parent 38280 2ec44160165d
child 38282 1a05e205832a
mercurial: add .t files to .editorconfig The notable entry here prevents the stripping of trailing whitespace, which is important in .t tests. Differential Revision: https://phab.mercurial-scm.org/D3702
.editorconfig
--- a/.editorconfig	Mon May 28 21:13:32 2018 +0530
+++ b/.editorconfig	Thu Jun 07 16:19:18 2018 -0700
@@ -11,3 +11,8 @@
 indent_size = 8
 indent_style = tab
 trim_trailing_whitespace = true
+
+[*.t]
+indent_size = 2
+indent_style = space
+trim_trailing_whitespace = false