freedreno: Make .editorconfig match .dir-locals.el.
authorEric Anholt <eric@anholt.net>
Thu, 9 May 2019 23:33:56 +0000 (16:33 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 13 May 2019 22:37:01 +0000 (15:37 -0700)
The editorconfig takes precedence over dir-locals in emacs26 with
editorconfig enabled, so the /.editorconfig was affecting these
directories.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/.editorconfig [new file with mode: 0644]
src/gallium/drivers/freedreno/.editorconfig

diff --git a/src/freedreno/.editorconfig b/src/freedreno/.editorconfig
new file mode 100644 (file)
index 0000000..5dff710
--- /dev/null
@@ -0,0 +1,5 @@
+[*.{c,h,cpp,hpp,cc,hh}]
+indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78
index cc8e11ffd65e125516191ecdd8f6fe4295e03197..c32fa49acbbeaa7d3834e3b5bfc12ae87691ad23 100644 (file)
@@ -1,2 +1,5 @@
 [*.{c,h}]
 indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78