From 0f2d403f2602c81831afc4b9318ca523bbbd9111 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 20 Dec 2023 10:33:08 +1000 Subject: [PATCH] Add an editorconfig file --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ac2c744b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# https://editorconfig.org/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{c,h}] +indent_size = 8 +indent_style = tab + +[*.{py,sym}] +indent_size = 4 +indent_style = space + +[{meson.build,meson_options.txt}] +indent_size = 8 +indent_style = tab