summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-09-04 14:59:09 +0100
committerSimon McVittie <smcv@collabora.com>2022-09-05 09:18:53 +0100
commit9dc0b3e753f4102414319fece35575fc2d8c68bd (patch)
tree2e29e5bc22d5025dc176c3676d02270888efcdc0
parentca44e69b3db5c0b9eb45a6c3c60b7f2faf606e35 (diff)
downloaddbus-python-9dc0b3e753f4102414319fece35575fc2d8c68bd.tar.gz
.editorconfig: Add
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.editorconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..8faf02b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,28 @@
+# For format see editorconfig.org
+# Copyright 2022 Collabora Ltd.
+# SPDX-License-Identifier: MIT
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+tab_width = 8
+
+[{*.py,*.sh,meson.build}]
+indent_size = 4
+indent_style = space
+
+[{*.c,*.h}]
+indent_size = 2
+indent_style = space
+
+[Makefile.am]
+indent_size = 8
+indent_style = tab
+
+[*.md]
+indent_size = 4
+indent_style = space
+tab_width = 4