forked from stellar/stellar-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.dir-locals.el
23 lines (22 loc) · 1.25 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
; This file sets emacs variables that are helpful for editing stellar-core
((c-mode . ((indent-tabs-mode . nil)))
(c++-mode . ((indent-tabs-mode . nil)))
(nil . ((flycheck-clang-language-standard . "c++11")
(flycheck-clang-include-path . ("."
"src"
"lib/asio/asio/include"
"lib/autocheck/include"
"lib/cereal/include"
"lib/util"
"lib/soci/src/core"
"lib/soci/src/backends/sqlite3"
"lib/xdrpp"
"lib/sqlite"
"lib/libsodium/src/libsodium"
"lib/libmedida/src"
))
(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 . -)))))))