.editorconfig
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 24 Mar 2020 23:31:36 -0700
changeset 44608 d06e748cfd02
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
py3: use integer division in histedit Histedit uses the `/` operator, which does type conversion to float in Python 3 instead of integer division likeon Python 2. Let's preserve the Python 2 behavior by importing and using the `//` operator. Differential Revision: https://phab.mercurial-scm.org/D8324

# 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