summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorOwen Rudge <owen@owenrudge.net>2018-04-12 21:14:23 +0100
committerGitHub <noreply@github.com>2018-04-12 21:14:23 +0100
commit3701b8685ac9ccc7fd3d237be2c246b6cd3305df (patch)
tree17f424be4ba13834578d70c67b60d0add47f80ec /.editorconfig
parente47f646cb342f4351c92ff36a90233e015a827f5 (diff)
downloadopenttd-3701b8685ac9ccc7fd3d237be2c246b6cd3305df.tar.xz
Add: Include basic .editorconfig file to help enforce tab style (#6707)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..787a1c76c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{c,cpp,h,hpp}]
+indent_style = tab
+charset = utf-8