From b63a8bdcb7c44b6d3bf00ecfce24830c1827721d Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 2 Dec 2015 09:51:34 -0800 Subject: Start adding EditorConfig files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') 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 -- cgit v1.2.3