Skip to content

Commit

Permalink
emacs: add .dir-locals.el for linux style C
Browse files Browse the repository at this point in the history
This will automatically configure proper indent settings for new contributors
using emacs.

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 authored and rustyrussell committed Jan 10, 2018
1 parent 7583173 commit 5043e20
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -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)
))
)

0 comments on commit 5043e20

Please sign in to comment.