aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2021-11-30 21:51:01 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2021-11-30 22:06:49 +0000
commite8693fc9afba178103ac18f43455e1406ba21566 (patch)
tree007abc19aa534ac66e718a9b41cb02812ca9b489
parent950a1f35a718bc2a8e1dda75845e52651bb331a7 (diff)
downloadwaffle-e8693fc9afba178103ac18f43455e1406ba21566.tar.gz
editorconfig: add initial file
Our files roughly fall into the following groups: - source code - c/c++/cocoa - 4 spaces indent - meson - 2 spaces - cmake - 2 spaces - android build - mix of tabs and 4 spaces -- on their way out - handwritten Docbook XML files (ouch) - 2 spaces - various one-off files Based on the above - let's add editorconfig file for meson and "everything else". It's a decent start going forward. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--.editorconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..0bff64a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+# To use this config on you editor, follow the instructions at:
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+
+[meson*]
+indent_size = 2