Initial commit
This commit is contained in:
commit
99e3df82b7
28 changed files with 2639 additions and 0 deletions
26
configs/coding-style.el
Normal file
26
configs/coding-style.el
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
(add-to-list 'c-style-alist
|
||||
'("epita"
|
||||
(c-basic-offset . 2)
|
||||
(c-comment-only-line-offset . 0)
|
||||
(c-hanging-braces-alist . ((substatement-open before after)))
|
||||
(c-offsets-alist . ((topmost-intro . 0)
|
||||
(substatement . +)
|
||||
(substatement-open . 0)
|
||||
(case-label . +)
|
||||
(access-label . -)
|
||||
(inclass . ++)
|
||||
(inline-open . 0)))))
|
||||
|
||||
(c-add-style
|
||||
"e"
|
||||
'("gnu"
|
||||
(show-trailing-whitespace t)
|
||||
(indent-tabs-mode . nil)
|
||||
(tab-width . 8)
|
||||
(c-offsets-alist .
|
||||
((defun-block-intro . 3)
|
||||
(statement-block-intro . 3)
|
||||
(case-label . 1)
|
||||
(statement-case-intro . 3)
|
||||
(inclass . 3)
|
||||
))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue