Add editor config

This commit is contained in:
Laurenz 2023-04-04 14:35:52 +02:00
parent e77abf842d
commit 8271ba5a52

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
[*.{rs,toml,json}]
indent_size = 4
[*.{typ,md}]
indent_size = 2