diff options
author | Ivan Zhakov <ivan@apache.org> | 2022-11-20 07:24:28 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2022-11-20 07:24:28 +0000 |
commit | dd405176be3d2daa1d127fd8df299c809c0d06be (patch) | |
tree | ed487657b9ab0db351f28861f1c6248606ea1d93 /.editorconfig | |
parent | 4f9b76b6f2acc4030ce9ef164322514c5d0e761b (diff) | |
download | apr-dd405176be3d2daa1d127fd8df299c809c0d06be.tar.gz |
.editorconfig: Configure C codestyle.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905415 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 7 |
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
|