emacs: add .dir-locals.el for linux style C

This will automatically configure proper indent settings for new contributors
using emacs.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2018-01-09 09:04:11 -08:00 committed by Rusty Russell
parent 758317387e
commit 5043e201b8
1 changed files with 7 additions and 0 deletions

7
.dir-locals.el Normal file
View File

@ -0,0 +1,7 @@
((c-mode . ((c-file-style . "linux")
(indent-tabs-mode . t)
(show-trailing-whitespace . t)
(c-basic-offset . 8)
(tab-width . 8)
))
)