From 8271ba5a521b2d442c605314124af2e456c1aa48 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Apr 2023 14:35:52 +0200 Subject: [PATCH] Add editor config --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..ffc8fbba2 --- /dev/null +++ b/.editorconfig @@ -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