fmt: add .editorconfig

This commit is contained in:
2025-11-28 18:05:19 +08:00
parent a9ee28f5fb
commit 3604d88767

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
insert_final_newline = true
[*.{rs,toml}]
indent_size = 4
insert_final_newline = false
[*.nix]
indent_size = 2
[Makefile]
indent_size = 4