diff --git a/.editorconfig b/.editorconfig
index ac0853078d268ca1754c049f78c60e3cabefb118..64497f3ac3a13244bb1d5da70f70871e85af499d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -15,12 +15,16 @@ indent_size = 4
 indent_style = unset
 indent_size = unset
 
+[*.c]
+
 [*.css]
 
 [*.dia]
 indent_style = space
 indent_size = 2
 
+[*.h]
+
 [*.html]
 
 [*.js]