From cc9137762cfe05f5508e614c1dcedf3ff9067399 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Jun 2017 13:26:48 -0700 Subject: Add an editorconfig file for the basics of igt style. This makes my emacs default to consistent indentation for the project. v2: Set root mode, and Mesa's note for more information on editorconfig. Signed-off-by: Eric Anholt Reviewed-by: Petri Latvala --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..7b7f1375 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# To use this config in your editor, follow the instructions at: +# http://editorconfig.org + +root = true + +[*] +tab_width = 8 + +[{Makefile*,*.mk}] +indent_style = tab + +[*.{c,h,cpp,hpp,cc,hh}] +indent_style = tab +indent_size = 8 -- cgit v1.2.3