.editorconfig
author Mark Thomas <mbthomas@fb.com>
Fri, 12 Oct 2018 15:46:52 +0000
changeset 40189 9458dbfa7f33
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
templatefuncs: add truncate parameter to pad Add a truncate option to pad that additionally truncates the text to the pad width if it is wider. Since color codes can cause a problem with this, when the text is truncated, the color codes are also stripped. Users of the truncate option should label the text outside the pad. Differential Revision: https://phab.mercurial-scm.org/D5000

# 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