summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2022-11-20 07:24:28 +0000
committerivan <ivan@13f79535-47bb-0310-9956-ffa450edef68>2022-11-20 07:24:28 +0000
commit61a4214937b106cad306a8a00d7575f7f9104e30 (patch)
treeed487657b9ab0db351f28861f1c6248606ea1d93
parenta1f2631420b9981cc3acc663801d6bebd7315a4f (diff)
downloadlibapr-61a4214937b106cad306a8a00d7575f7f9104e30.tar.gz
.editorconfig: Configure C codestyle.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905415 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--.editorconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 75176d99b..9c76c2587 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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