From 9ea24949407fca76dce496d3510a76decfd9181c Mon Sep 17 00:00:00 2001 From: Sudarsan Balaji Date: Thu, 14 Oct 2021 00:04:44 +0530 Subject: [PATCH] Use settings from rust-fmt --- .editorconfig | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index f9d7a83..f8d19dc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,7 +1,26 @@ root = true [*] -insert_final_newline = true +charset = utf-8 +end_of_line = lf indent_size = 2 indent_style = space -end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.rs] +indent_size = 4 + +[*.kt] +indent_size = 4 + +[tests/**/*.rs] +charset = utf-8 +end_of_line = unset +indent_size = unset +indent_style = unset +trim_trailing_whitespace = unset +insert_final_newline = unset