mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Add .dir-locals.el for Emacs
This commit is contained in:
parent
7899fc959d
commit
ca6d287b33
1 changed files with 16 additions and 0 deletions
16
.dir-locals.el
Normal file
16
.dir-locals.el
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
((c++-mode . (
|
||||||
|
(c-file-style . "k&r")
|
||||||
|
(c-basic-offset . 4)
|
||||||
|
(indent-tabs-mode . nil)
|
||||||
|
(tab-width . 4)
|
||||||
|
(show-trailing-whitespace . t)
|
||||||
|
(indicate-empty-lines . t)
|
||||||
|
(eval . (c-set-offset 'innamespace 0))
|
||||||
|
(eval . (c-set-offset 'defun-open 0))
|
||||||
|
(eval . (c-set-offset 'inline-open 0))
|
||||||
|
(eval . (c-set-offset 'arglist-intro '+))
|
||||||
|
(eval . (c-set-offset 'arglist-cont 0))
|
||||||
|
(eval . (c-set-offset 'arglist-cont-nonempty '+))
|
||||||
|
(eval . (c-set-offset 'substatement-open 0))
|
||||||
|
(eval . (c-set-offset 'access-label '-))
|
||||||
|
)))
|
Loading…
Reference in a new issue