aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-10-16 17:10:08 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2016-10-19 00:52:49 +0300
commit07a53eeebbe0e27decd820e03cfb4f466c2b3a51 (patch)
treefc08a065be8798896c862fb765b8047330a6ac2b /.editorconfig
parentd8cd194214a75b845689bc13cb45928619921056 (diff)
downloadmeson-07a53eeebbe0e27decd820e03cfb4f466c2b3a51.zip
meson-07a53eeebbe0e27decd820e03cfb4f466c2b3a51.tar.gz
meson-07a53eeebbe0e27decd820e03cfb4f466c2b3a51.tar.bz2
Add editorconfig file
This is supported by many editors and an easy way to ensure consistent indentation.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d848627
--- /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
+