emacs: add a .dir-locals.el

Use a global .dir-locals.el to setup a correct coding style for emacs
users.
This commit is contained in:
Mathieu OTHACEHE 2016-10-22 17:33:19 +02:00 committed by Lucas De Marchi
parent d188504b8b
commit 53d3a799e7
1 changed files with 4 additions and 0 deletions

4
.dir-locals.el Normal file
View File

@ -0,0 +1,4 @@
((prog-mode . ((indent-tabs-mode . nil)
(tab-width . 4)
(c-basic-offset . 4)))
(c-mode . ((mode . C++))))