Permalink
Browse files

Added .dir-locals.el to setup correct indentation in Emacs

  • Loading branch information...
Nikratio committed Jun 19, 2017
1 parent 4379773 commit 5bc9ff371dfc02c786071cbc0f3116251f34f2f5
Showing with 25 additions and 0 deletions.
  1. +25 −0 .dir-locals.el
View
@@ -0,0 +1,25 @@
((python-mode . ((indent-tabs-mode . nil)))
(autoconf-mode . ((indent-tabs-mode . t)))
(c-mode . ((c-file-style . "stroustrup")
(indent-tabs-mode . t)
(tab-width . 8)
(c-basic-offset . 8)
(c-file-offsets .
((block-close . 0)
(brace-list-close . 0)
(brace-list-entry . 0)
(brace-list-intro . +)
(case-label . 0)
(class-close . 0)
(defun-block-intro . +)
(defun-close . 0)
(defun-open . 0)
(else-clause . 0)
(inclass . +)
(label . 0)
(statement . 0)
(statement-block-intro . +)
(statement-case-intro . +)
(statement-cont . +)
(substatement . +)
(topmost-intro . 0))))))

0 comments on commit 5bc9ff3

Please sign in to comment.