[Intel-gfx] [PATCH 1/2] Add an editorconfig file for the basics of igt style.

Eric Anholt eric at anholt.net
Wed Jun 7 23:45:30 UTC 2017


This makes my emacs default to consistent indentation for the project.

Signed-off-by: Eric Anholt <eric at anholt.net>
---
 .editorconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..bdfebacaf4cd
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+[*]
+tab_width = 8
+
+[{Makefile*,*.mk}]
+indent_style = tab
+
+[*.{c,h,cpp,hpp,cc,hh}]
+indent_style = tab
+indent_size = 8
-- 
2.11.0



More information about the Intel-gfx mailing list