From 4c400410481d98a2f767b1d242c3f78d974c37f8 Mon Sep 17 00:00:00 2001 From: alemidev Date: Mon, 13 Jun 2022 02:35:51 +0200 Subject: [PATCH] style: use tabs --- .editorconfig | 7 +++++++ .rustfmt.toml | 1 + 2 files changed, 8 insertions(+) create mode 100644 .editorconfig create mode 100644 .rustfmt.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..45699fb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +# Default to Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = 2 diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..218e203 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true