vc4: Add .dir-locals.el for kernel style in the kernel code.
authorEric Anholt <eric@anholt.net>
Fri, 24 Oct 2014 19:49:27 +0000 (20:49 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 29 Oct 2014 00:15:36 +0000 (17:15 -0700)
src/gallium/drivers/vc4/kernel/.dir-locals.el [new file with mode: 0644]

diff --git a/src/gallium/drivers/vc4/kernel/.dir-locals.el b/src/gallium/drivers/vc4/kernel/.dir-locals.el
new file mode 100644 (file)
index 0000000..2e58e90
--- /dev/null
@@ -0,0 +1,12 @@
+((nil
+  (indent-tabs-mode . t)
+  (tab-width . 8)
+  (c-basic-offset . 8)
+  (c-file-style . "stroustrup")
+  (fill-column . 78)
+  (eval . (progn
+           (c-set-offset 'innamespace '0)
+           (c-set-offset 'inline-open '0)))
+  )
+ (makefile-mode (indent-tabs-mode . t))
+ )