Correct substatement indentation in c-mode (fixes #342)
This commit is contained in:
parent
f341074dd8
commit
d47293858c
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@
|
||||||
|
|
||||||
(defun prelude-c-mode-common-defaults ()
|
(defun prelude-c-mode-common-defaults ()
|
||||||
(setq indent-tabs-mode t)
|
(setq indent-tabs-mode t)
|
||||||
(setq c-basic-offset 4))
|
(setq c-basic-offset 4)
|
||||||
|
(c-set-offset 'substatement-open 0))
|
||||||
|
|
||||||
(setq prelude-c-mode-common-hook 'prelude-c-mode-common-defaults)
|
(setq prelude-c-mode-common-hook 'prelude-c-mode-common-defaults)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue