Skip to content

Commit

Permalink
Add Emacs dir-locals
Browse files Browse the repository at this point in the history
  • Loading branch information
arximboldi committed Jun 16, 2020
1 parent b34af76 commit 790bf6c
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 @@
((nil .
((indent-tabs-mode . nil)
(show-trailing-whitespace . t)))
(c-mode .
((mode . c++)))
(c++-mode .
((eval add-hook 'before-save-hook #'clang-format-buffer nil t))))

0 comments on commit 790bf6c

Please sign in to comment.