Skip to content

Commit

Permalink
emacs: add a .dir-locals.el
Browse files Browse the repository at this point in the history
Use a global .dir-locals.el to setup a correct coding style for emacs
users.
  • Loading branch information
mothacehe authored and lucasdemarchi committed Oct 24, 2016
1 parent d188504 commit 53d3a79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
((prog-mode . ((indent-tabs-mode . nil)
(tab-width . 4)
(c-basic-offset . 4)))
(c-mode . ((mode . C++))))

0 comments on commit 53d3a79

Please sign in to comment.