.editorconfig: Configure C codestyle.
@@ -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
