[PATCH libdrm 2/2] Add .editorconfig

Thierry Reding thierry.reding at gmail.com
Fri Dec 23 17:36:05 UTC 2016


From: Thierry Reding <treding at nvidia.com>

This encodes the indentation style for libdrm and can be used with
various editors. See http://editorconfig.org for instructions.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 .editorconfig | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..893b7be082e4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,19 @@
+# To use this config with your editor, follow the instructions at:
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+insert_final_newline = true
+
+[*.{c,h}]
+indent_style = space
+indent_size = 4
+
+[{Makefile.*,*.mk}]
+indent_style = tab
+
+[*.m4]
+indent_style = space
+indent_size = 2
-- 
2.11.0



More information about the dri-devel mailing list