From e52af4207a6e09a1ba21f61d6f85d8b2b1e6efc0 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 31 May 2024 09:03:28 +0200 Subject: [PATCH] Add EditorConfig support Provide common indentation configuration for the source files. For more information, visit https://editorconfig.org/. Signed-off-by: Yegor Yefremov --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0143c3c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[{*.c,*.h}] +indent_style = space +indent_size = 4 +tab_width = 4