2015-12-02 17:51:34 +00:00
|
|
|
#
|
|
|
|
# Editor configuration
|
|
|
|
#
|
|
|
|
# http://editorconfig.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# Global settings
|
|
|
|
|
|
|
|
# We're the top. We're the Coliseum.
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
2016-03-16 15:55:18 +00:00
|
|
|
tab_width = 8
|
|
|
|
charset = utf-8
|
2015-12-02 17:51:34 +00:00
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# Autotools, Make, Nmake
|
|
|
|
[{Makefile.am,Makefile,Makefile.nmake,config.nmake}]
|
|
|
|
indent_style = tab
|
2016-03-16 15:55:18 +00:00
|
|
|
indent_size = 8
|
2015-12-02 17:51:34 +00:00
|
|
|
|
|
|
|
# Python
|
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2016-03-05 02:06:28 +00:00
|
|
|
|
2016-03-15 19:26:25 +00:00
|
|
|
# C/C++
|
|
|
|
[*.{c,cpp,h}]
|
2016-03-05 02:06:28 +00:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2016-03-06 17:41:38 +00:00
|
|
|
|
|
|
|
[{capinfos,captype,mergecap,mkcap,tfshark,tshark}.c]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[{dftest,echld_test,randpkt,trigcap}.c]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = tab
|
|
|
|
|
|
|
|
[capture_stop_conditions.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[cfile.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[conditions.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[file.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[filter_files.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[frame_tvbuff.[ch]]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = tab
|
|
|
|
|
|
|
|
[pcapio.[ch]]
|
|
|
|
indent_size = 8
|
|
|
|
|
|
|
|
[ringbuffer.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[summary.[ch]]
|
|
|
|
indent_size = 2
|
|
|
|
|
2016-03-16 15:55:18 +00:00
|
|
|
[randpkt_core.[ch]]
|
2016-03-06 17:41:38 +00:00
|
|
|
indent_style = tab
|
|
|
|
indent_size = tab
|
2016-04-19 07:03:08 +00:00
|
|
|
|
|
|
|
[ws_version_info.[ch]]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = tab
|