From f3682d71035511914ff2870afa533a6c126be7e3 Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Sat, 16 Jul 2022 20:40:01 +0200 Subject: [PATCH] ADD .editorconfig to display source files in Gitea with tab size of 4 --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..68b6817 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# EditorConfig: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# General settings +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +# Source code files +[*.{c,h,s}] +indent_style = tab +charset = utf-8 +indent_size = 4 +trim_trailing_whitespace = true + +# Tab indentation (no size specified) +[{Makefile,*.mk}] +indent_style = tab +trim_trailing_whitespace = false