[PATCH xts 2/3] editorconfig: Set up some default indentation settings for the project.

Eric Anholt eric at anholt.net
Wed Aug 31 23:45:55 UTC 2016


Emacs was indenting badly in the previous change without it.
---
 .editorconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..5fa2d6311abd
--- /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
-- 
2.9.3



More information about the xorg-devel mailing list