forked from stellar/stellar-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
28 lines (27 loc) · 1.53 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
; This file sets emacs variables that are helpful for editing stellar-core
((nil . ((flycheck-clang-language-standard . "c++11")
(flycheck-clang-include-path . ("."
"src"
"src/lib/asio/include"
"src/lib/autocheck/include"
"src/lib/cereal/include"
"src/lib/util"
"src/lib/soci/src/core"
"src/lib/soci/src/backends/sqlite3"
"src/lib/xdrpp"
"src/lib/sqlite"
"src/lib/libsodium/src/libsodium"
"src/lib/libmedida/src"
))
(fill-column . 80)
(indent-tabs-mode . nil)
(whitespace-style . (face tabs tab-mark trailing lines-tail empty))
(c-file-style . "stroustrup")
(eval . (add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode)))
(eval . (if (boundp 'c-offsets-alist)
(add-to-list 'c-offsets-alist '(innamespace . -))))
(eval . (setq compile-command
(concat "make"
" -wC " (locate-dominating-file
(or buffer-file-name ".") ".dir-locals.el")
" -j $(nproc)"))))))