Add .editorconfig file
authorDylan Baker <dylan@pnwbakers.com>
Wed, 29 Aug 2018 23:14:54 +0000 (16:14 -0700)
committerAdam Jackson <ajax@nwnk.net>
Thu, 29 Nov 2018 16:57:01 +0000 (16:57 +0000)
This sets the style for meson (which uses the upstream style, 2 space
indent with no tabs), and sets the tab_width to 8 per the CODING_STYLE
document.

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5153bb0
--- /dev/null
@@ -0,0 +1,11 @@
+# To use this config on you editor, follow the instructions at:
+# http://editorconfig.org
+
+root = true
+
+[*]
+tab_width = 8
+
+[meson.build,meson_options.txt]
+indent_style = space
+indent_size = 2