.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 07 Jun 2018 16:19:18 -0700
changeset 46506 1d6066336d7bfcc7e070357dd30b75271933e419
parent 31129 d30fdd6d1bf7c079f1d297ff8e8a1fa56018ec63
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