Don't indent in namespaces.
This commit is contained in:
parent
f1d0c916e6
commit
29454d926d
10
init.el
10
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-09-30T04:59:37+00:00>
|
||||
;; Time-stamp: <2019-09-30T06:00:30+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; Requires at least Emacs 24.3.
|
||||
|
@ -434,7 +434,13 @@ With argument, do this that many times."
|
|||
(use-package cc-mode
|
||||
:ensure nil ; Included in Emacs.
|
||||
:config
|
||||
(c-add-style "tastytea"
|
||||
(c-add-style
|
||||
"tastytea"
|
||||
'("bsd"
|
||||
(c-basic-offset . 4)
|
||||
(c-offsets-alist . ((innamespace . [0]))))) ; Don't indent in namespaces.
|
||||
(c-add-style
|
||||
"tastytea-legacy" ; For old code.
|
||||
'("bsd"
|
||||
(c-basic-offset . 4)))
|
||||
:custom
|
||||
|
|
Loading…
Reference in New Issue
Block a user