You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2022/11/20 07:24:29 UTC
svn commit: r1905415 - /apr/apr/trunk/.editorconfig
Author: ivan
Date: Sun Nov 20 07:24:28 2022
New Revision: 1905415
URL: http://svn.apache.org/viewvc?rev=1905415&view=rev
Log:
.editorconfig: Configure C codestyle.
Modified:
apr/apr/trunk/.editorconfig
Modified: apr/apr/trunk/.editorconfig
URL: http://svn.apache.org/viewvc/apr/apr/trunk/.editorconfig?rev=1905415&r1=1905414&r2=1905415&view=diff
==============================================================================
--- apr/apr/trunk/.editorconfig (original)
+++ apr/apr/trunk/.editorconfig Sun Nov 20 07:24:28 2022
@@ -10,3 +10,10 @@ indent_size = 2
[*.json]
ident_size = 2
+
+[*.{c,h}]
+cpp_indent_within_parentheses = align_to_parenthesis
+cpp_indent_preserve_within_parentheses = true
+
+cpp_space_pointer_reference_alignment = right
+cpp_indent_preserve_comments = true