From bd404bb223a767890393a9875de7f01f447b97ee Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 11 Feb 2024 12:22:18 +0100 Subject: [PATCH] build: add editorconfig Having editor-agnostic styling is useful. --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..53780b34 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +tab_width = 8 +end_of_line = lf +insert_final_newline = true + +[*.rs] +indent_size = 4 + +[Makefile] +indent_style = tab +indent_size = 8