From 11eba2386cc69be0cd042682afd7f897fdfd03e0 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 13 Mar 2025 15:13:39 +0100 Subject: [PATCH] add editorconfig file --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..442b368 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{c,h,cpp,hpp,rs}] +indent_size = 4 + +[makefile] +indent_style = tab +indent_size = 1 + +[*.{yaml,json}] +indent_style = space +indent_size = 2