aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..b5ad036baa
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,24 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+# Global settings
+
+# We're the top. We're the Coliseum.
+root = true
+
+[*]
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Autotools, Make, Nmake
+[{Makefile.am,Makefile,Makefile.nmake,config.nmake}]
+indent_style = tab
+
+# Python
+[*.py]
+indent_style = space
+indent_size = 4
+charset = utf-8