From f66a64ccbc5a690e1c8e12073b5cd202902c882b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 18 Jul 2018 19:17:04 +0800 Subject: spacemacs: Use "bsd" style for C/C++ mode --- _spacemacs.d/init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el index 7403837..1c4ea01 100644 --- a/_spacemacs.d/init.el +++ b/_spacemacs.d/init.el @@ -484,7 +484,12 @@ web-mode-css-indent-offset 2 web-mode-code-indent-offset 2 ) - ;; + + (add-hook 'c-mode-common-hook + (lambda () + (setq indent-tabs-mode t) + (c-set-style "bsd"))) + ;; Enable `company-mode' globally (global-company-mode) (setq company-idle-delay 0.1) -- cgit v1.2.2