From 0734905d9a21623252b8e8a177509f3526ba1bdb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 9 May 2019 17:13:14 -0700 Subject: freedreno: Make emacs indent the way robclark's eclipse does. The .editorconfig helps with the tabs, but we've got this two-tabs-from-previous-indentation line continuation style that requires whacking the c-file-offsets. This will throw emacs warnings when first opening a file in the directory, press '!' to shut it up for the future. Reviewed-by: Kristian H. Kristensen --- src/freedreno/.dir-locals.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/freedreno') diff --git a/src/freedreno/.dir-locals.el b/src/freedreno/.dir-locals.el index b0e90fcbd53..3023c51e8cf 100644 --- a/src/freedreno/.dir-locals.el +++ b/src/freedreno/.dir-locals.el @@ -4,5 +4,8 @@ (c-basic-offset . 4) (c-file-style . "k&r") (fill-column . 78) + (c-file-offsets + (arglist-cont-nonempty . ++) + ) ) ) -- cgit v1.2.3