Last active
December 20, 2015 15:49
-
-
Save votjakovr/6156971 to your computer and use it in GitHub Desktop.
SHOGUN C++ style for GNU Emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; style according the SHOGUN guide for developer and some source files | |
(c-add-style "shogun" | |
'("stroustrup" | |
(indent-tabs-mode . t) | |
(tab-width . 4) | |
(c-offsets-alist | |
(innamespace . -) | |
(arglist-intro . ++) | |
(arglist-cont-nonempty . ++) | |
(inher-intro . ++) | |
(member-init-intro . ++)))) | |
(add-hook 'c++-mode-hook (lambda () (c-set-style "shogun"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment