summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-08-31 16:06:02 -0700
committerEric Anholt <eric@anholt.net>2016-09-02 10:42:03 -0700
commit75efa833fa3c006100a35273b37f711edd686725 (patch)
treeece6a4673677b38d726f8bae568c2914791e5582
parent1b04c71fc8aaa6b4ef7665041e790590bc74ebed (diff)
editorconfig: Set up some default indentation settings for the project.
Emacs was indenting badly in the previous change without it. Reviewed-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..5fa2d631
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+# To use this config on you editor, follow the instructions at:
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+insert_final_newline = true
+
+[*.{c,h,cpp,hpp,cc,hh}]
+indent_style = tab
+indent_size = 8