From dd405176be3d2daa1d127fd8df299c809c0d06be Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Sun, 20 Nov 2022 07:24:28 +0000 Subject: .editorconfig: Configure C codestyle. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905415 13f79535-47bb-0310-9956-ffa450edef68 --- .editorconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.editorconfig') 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 -- cgit v1.2.1