You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/05/03 03:42:58 UTC
[trafficserver] branch master updated: Remove the default tab size
in editorconfig, and create C/C++ section
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d3337f5 Remove the default tab size in editorconfig, and create C/C++ section
d3337f5 is described below
commit d3337f512f9c397a14f13a38d1f3e9d4977fdbcd
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Sun Apr 29 14:44:18 2018 -0600
Remove the default tab size in editorconfig, and create C/C++ section
This allows us to have no specific TAB width for the Makefile section,
allowing people to chose whatever they prefer for any files that we
allow TAB in (currently, only Makefile.am).
---
.editorconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.editorconfig b/.editorconfig
index d2260bf..f331798 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -26,9 +26,11 @@ root = true
end_of_line = lf
insert_final_newline = true
indent_style = space
-indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
+# C and C++
+[{*.c, *.h, *.cc, *.cpp}]
+indent_size = 2
# Python
[*.py]
indent_size = 4
@@ -37,6 +39,7 @@ charset = utf-8
[{*.pm,*.pl}]
indent_size = 4
charset = utf-8
+# Makefile's
[*.am]
trim_trailing_whitespace = false
indent_style = tab
--
To stop receiving notification emails like this one, please contact
zwoop@apache.org.