.editorconfig
author Yuya Nishihara <yuya@tcha.org>
Sun, 16 Dec 2018 16:31:31 +0900
changeset 40991 21ffe6b97a25
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
context: error out if basefilectx.cmp() is called without self._filenode The base implementation can't handle such cases because the filelog has no knowledge about the working directory. Loading self._filenode should have no extra cost since self.size() would load it anyway.

# 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