From 683710c06871e4d20f4c1df470d6b94c612a4217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BChlbacher?= Date: Wed, 22 May 2024 21:37:09 +0200 Subject: [PATCH] chore(editorconfig): flesh out definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit so it actually works. Signed-off-by: Thomas Mühlbacher --- .editorconfig | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 86ba2134..58738895 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,26 @@ -indent_style = tab +root = true + +[*] +charset = utf-8 +end_of_line = lf indent_size = 8 +indent_style = tab +insert_final_newline = true +max_line_length = 80 +tab_width = 8 +trim_trailing_whitespace = true + +[.git/**] +max_line_length = 72 [*.nix] indent_style = space indent_size = 2 + +[Cargo.toml] +indent_style = space +indent_size = 4 + +[*.rs] +indent_style = space +indent_size = 4