From a02e79d8af7ef9ad1cbecbe8393e5a584fc71825 Mon Sep 17 00:00:00 2001 From: klemek Date: Sun, 3 May 2026 19:29:58 +0200 Subject: [PATCH] tools: add .editorconfig --- .editorconfig | 16 ++++++++++++++++ .gitignore | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e1cd38c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{Makefile.*,Makefile}] +indent_style = tab +indent_size = 2 diff --git a/.gitignore b/.gitignore index e8ee944..8d747a9 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,4 @@ configure src/margen* *.pkg.tar.zst pkg -margen-* \ No newline at end of file +margen-*