From 5f8003e949d36f627dd7e46d98d32ef93cea333b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sun, 6 Mar 2016 17:41:38 +0000 Subject: Add EditorConfig settings for most C files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I02e6d71290bbdf7504437b0d670955b3686b6b52 Reviewed-on: https://code.wireshark.org/review/14360 Reviewed-by: João Valverde --- ui/cli/.editorconfig | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ui/cli/Makefile.am | 1 + 2 files changed, 88 insertions(+) create mode 100644 ui/cli/.editorconfig (limited to 'ui/cli') diff --git a/ui/cli/.editorconfig b/ui/cli/.editorconfig new file mode 100644 index 0000000000..e66a590bea --- /dev/null +++ b/ui/cli/.editorconfig @@ -0,0 +1,87 @@ +# +# Editor configuration +# +# http://editorconfig.org/ +# + +[tap-camelsrt.[ch]] +indent_size = 2 + +[tap-comparestat.[ch]] +indent_style = tab +indent_size = tab + +[tap-diameter-avp.[ch]] +indent_style = tab +indent_size = tab + +[tap-endpoints.[ch]] +indent_style = tab +indent_size = tab + +[tap-follow.[ch]] +indent_size = 2 + +[tap-hosts.[ch]] +indent_style = tab +indent_size = tab + +[tap-httpstat.[ch]] +indent_style = tab +indent_size = tab + +[tap-iousers.[ch]] +indent_style = tab +indent_size = tab + +[tap-protocolinfo.[ch]] +indent_style = tab +indent_size = tab + +[tap-protohierstat.[ch]] +indent_style = tab +indent_size = tab + +[tap-rpcprogs.[ch]] +indent_style = tab +indent_size = tab + +[tap-rtd.[ch]] +indent_style = tab +indent_size = tab + +[tap-rtspstat.[ch]] +indent_style = tab +indent_size = tab + +[tap-sctpchunkstat.[ch]] +indent_style = tab +indent_size = tab + +[tap-simple_stattable.[ch]] +indent_style = tab +indent_size = tab + +[tap-sipstat.[ch]] +indent_style = tab +indent_size = tab + +[tap-smbsids.[ch]] +indent_style = tab +indent_size = tab + +[tap-srt.[ch]] +indent_style = tab +indent_size = tab + +[tap-stats_tree.[ch]] +indent_style = tab +indent_size = tab + +[tap-sv.[ch]] +indent_style = tab +indent_size = tab + +[tap-wspstat.[ch]] +indent_style = tab +indent_size = tab diff --git a/ui/cli/Makefile.am b/ui/cli/Makefile.am index 4e723bd49b..74b6473ace 100644 --- a/ui/cli/Makefile.am +++ b/ui/cli/Makefile.am @@ -82,6 +82,7 @@ checkapi-todo: $(TSHARK_TAP_SRC) EXTRA_DIST = \ + .editorconfig \ $(GENERATOR_FILES) \ Makefile.common \ Makefile.nmake -- cgit v1.2.1