summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-12-02 09:51:34 -0800
committerJoão Valverde <j@v6e.pt>2016-03-08 10:44:17 +0000
commitb63a8bdcb7c44b6d3bf00ecfce24830c1827721d (patch)
tree488f03fc5f6e49da68b3932af887016c2828a726 /.editorconfig
parent4dae247ed217031fa7d8158d895b19de95ee5141 (diff)
downloadwireshark-b63a8bdcb7c44b6d3bf00ecfce24830c1827721d.tar.gz
Start adding EditorConfig files.
Add EditorConfig files where we currently have consistent indentation. This might let us get rid of our editor modeline footers at some point. Change-Id: I156f8d25cfa0050786eb2186c4b2e6d183c3a9ce Reviewed-on: https://code.wireshark.org/review/12383 Reviewed-by: João Valverde <j@v6e.pt>
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