Add editorconfig

This commit is contained in:
2025-06-14 21:59:45 +10:00
parent 6e08f363ae
commit ad2afbeebd

21
.editorconfig Normal file
View File

@@ -0,0 +1,21 @@
root = true
[*.{c,h,py,rs,swift,metal,glsl,hlsl}]
charset = utf-8
max_line_length = 120
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[{CMakeLists.txt,Cargo.toml}]
charset = utf-8
max_line_length = 120
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true