summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-12-01 14:13:07 -0800
committerEric Anholt <eric@anholt.net>2017-12-01 14:13:07 -0800
commitb50ecbf46ea25cff85f619123003a47a1708b566 (patch)
treee85f15b574462b6257bbe0c6fecb98af23dc3ee7
parent351ad5f4af15eff9157d1b8d071d18ab7ae82e3d (diff)
Add an editorconfig file for our style.
-rw-r--r--.editorconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..978cbc2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# To use this config on you editor, follow the instructions at:
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+insert_final_newline = true
+tab_width = 8
+indent_style = tab
+
+[meson.build,meson_options.txt]
+indent_style = space
+indent_size = 2