[Mesa-dev] [PATCH v2] swr: [rasterizer] add a .dir-locals.el to support 4-space indents
Ilia Mirkin
imirkin at alum.mit.edu
Wed Nov 9 17:58:14 UTC 2016
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
v1 -> v2: Add tabs-mode nil and show trailing whitespace. As discussed on IRC,
these don't stack unlike what I thought originally :(
src/gallium/drivers/swr/rasterizer/.dir-locals.el | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 src/gallium/drivers/swr/rasterizer/.dir-locals.el
diff --git a/src/gallium/drivers/swr/rasterizer/.dir-locals.el b/src/gallium/drivers/swr/rasterizer/.dir-locals.el
new file mode 100644
index 0000000..2b04c18
--- /dev/null
+++ b/src/gallium/drivers/swr/rasterizer/.dir-locals.el
@@ -0,0 +1,8 @@
+((prog-mode
+ (c-basic-offset . 4)
+ (c-file-style . "k&r")
+ (fill-column . 78)
+ (indent-tabs-mode . nil)
+ (show-trailing-whitespace . t)
+ )
+ )
--
2.7.3
More information about the mesa-dev
mailing list