.editorconfig
author Yuya Nishihara <yuya@tcha.org>
Tue, 04 Jun 2019 21:13:35 +0900
changeset 42436 69883775b27d
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
root: add template variables pointing to repository directories These paths are useful for GUI applications to detect changes. A GUI process typically monitors .hg and .hg/store directories so that it will be notified on lock/wlock deletion. Alternatively, maybe we can add debugpaths command if we don't want to extend the root command. I'm not sure which will be nicer.

# 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