diff options
-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
|