mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
66527fa611
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>
11 lines
240 B
Plaintext
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 . +))
|
|
)
|