diff options
author | Eric Anholt <[email protected]> | 2019-05-09 17:13:14 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-05-13 15:37:01 -0700 |
commit | 0734905d9a21623252b8e8a177509f3526ba1bdb (patch) | |
tree | d5002bfce522398e651fcc17eaad7c2e271a84d6 /src/freedreno | |
parent | 257999d9a8108ba9b63315137015ee0e67629115 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/.dir-locals.el | 3 |
1 files changed, 3 insertions, 0 deletions
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 . ++) + ) ) ) |