chore: enable space in editorconfig for more file types

This commit is contained in:
Nicolas Sarlin
2025-01-09 13:30:04 +01:00
committed by Nicolas Sarlin
parent 4c8d55f32b
commit c9eef7d193

View File

@@ -8,8 +8,14 @@ root = true
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
# 4 space indentation # 4 space indentation for rust and toml
[*.rs] [*.{rs,toml}]
charset = utf-8 charset = utf-8
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
# 2 for c and js
[*.{js,json,c,h}]
charset = utf-8
indent_style = space
indent_size = 2