chore: refactor editorconfig

Change root indentation for C/C++ but keep current indentation in
examples
This commit is contained in:
Matt Ehrnschwender
2026-01-28 23:09:29 -05:00
parent 0c60713f00
commit b9a8d2efc7
2 changed files with 16 additions and 2 deletions
+6 -2
View File
@@ -4,9 +4,13 @@ root = true
insert_final_newline = true
trim_trailing_whitespace = true
[*.{rs,c}]
[*.rs]
indent_size = 4
intent_style = space
indent_style = space
[*.{c,h,cpp,hpp}]
indent_size = 2
indent_style = space
[*.{toml,def,yaml,yml}]
indent_size = 2
+10
View File
@@ -0,0 +1,10 @@
[*.{c,h,cpp,hpp}]
indent_size = 4
indent_style = space
[*.{sh,ps1}]
indent_size = 2
indent_style = space
[Makefile]
indent_style = tab