-
Notifications
You must be signed in to change notification settings - Fork 192
/
.dir-locals.el
40 lines (40 loc) · 1.81 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(
(nil . ((indent-tabs-mode . nil)))
(prog-mode . ((fill-column . 95)))
(c-mode . ((c-basic-offset . 2)
(c-block-comment-prefix . "")
(comment-start . "// ")
(comment-end . "")
(c-file-offsets . ((statement-cont . c-lineup-math)
(substatement-open . 0)
(arglist-intro . +)
(inline-open . 0)
(case-label . *)
(statement-case-open . *)
(label . *)
(statement-case-intro . *)
(inextern-lang . 0)
(inlambda . 0) ; c-lineup-inexpr-block
(innamespace . 0)
(access-label . /)))))
;; Is there a way to not duplicate this?
(c++-mode . ((c-basic-offset . 2)
(c-block-comment-prefix . "")
(comment-start . "// ")
(comment-end . "")
(c-file-offsets . ((statement-cont . c-lineup-math)
(substatement-open . 0)
(arglist-intro . +)
(inline-open . 0)
(case-label . *)
(statement-case-open . *)
(label . *)
(statement-case-intro . *)
(inextern-lang . 0)
(inlambda . 0) ; c-lineup-inexpr-block
(innamespace . 0)
(access-label . /)))))
(java-mode . ((c-basic-offset . 2)))
(prolog-mode . ((prolog-indent-width . 4)))
(".git" . ((nil . ((fill-column . 72)))))
)