summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-11-20 22:53:05 +0100
committerSimon Ser <contact@emersion.fr>2019-11-20 22:55:15 +0100
commit3c30276063c05462b71e48a6c1c23f308f6086e7 (patch)
tree83bd100eaa0dd056f18cd3408c1ab4aa8d4e1171 /.editorconfig
parent510188250ea8fa1065b060ea91a9abfab87b7c2e (diff)
downloadwayland-protocols-3c30276063c05462b71e48a6c1c23f308f6086e7.tar.gz
Add .editorconfig
This allows editors to pick up the correct indent style for *.xml files. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..7e0c0a0
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,6 @@
+root = true
+
+[*.xml]
+indent_style = space
+indent_size = 2
+tab_width = 8