From 07a53eeebbe0e27decd820e03cfb4f466c2b3a51 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 16 Oct 2016 17:10:08 -0400 Subject: [PATCH] Add editorconfig file This is supported by many editors and an easy way to ensure consistent indentation. --- .editorconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d84862726 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space + +[*.[ch]] +indent_size = 4 + +[*.cpp] +indent_size = 4 + +[*.py] +indent_size = 4 + +[*.vala] +indent_size = 4 + +[*.xml] +indent_size = 2 + +[meson.build] +indent_size = 2 +