.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 07 Jun 2018 16:19:18 -0700
changeset 38281 1d6066336d7b
parent 28793 d30fdd6d1bf7
child 45392 c25efc468a49
permissions -rw-r--r--
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

# See http://EditorConfig.org for the specification

root = true

[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true

[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false