Skip to content

Commit

Permalink
Add .dir-locals.el for emacs
Browse files Browse the repository at this point in the history
Let emacs know the style of C formatting used in the project

Signed-off-by: Sergey Organov <[email protected]>
  • Loading branch information
sorganov authored and wenyouya committed May 8, 2017
1 parent 50fe79d commit 9800b3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
((nil . ((indent-tabs-mode . t)
(tab-width . 8)
(fill-column . 80)))
(c-mode . ((c-file-style . "Linux")))
(java-mode . ((c-file-style . "Linux"))))

0 comments on commit 9800b3f

Please sign in to comment.