0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00
openvpn3/.dir-locals.el-example
David Sommerseth 66527fa611
Add code style configurations
This adds a clang-format with the new code style for OpenVPN 3.

A very light Emacs dir-locals configuration has also been added, but
that will most likely not cover all the formatting aspects which
clang-format does.  Running clang-format before committing is still
highly recommended to ensure the coding style is consistent.

Signed-off-by: David Sommerseth <davids@openvpn.net>
2022-09-14 17:35:30 +02:00

11 lines
240 B
Plaintext

; Adapted from https://www.emacswiki.org/emacs/IndentingC
((c++-mode
(c-file-style . "stroustrup")
(innamespace . -)
(inline-open . 0)
(inher-cont . c-lineup-multi-inher)
(arglist-cont-nonempty . +)
(template-args-cont . +))
)