diff options
author | Aaron LI <aly@aaronly.me> | 2018-07-18 19:17:04 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-07-18 19:17:04 +0800 |
commit | f66a64ccbc5a690e1c8e12073b5cd202902c882b (patch) | |
tree | e8922ae2b9f4723d7ea56fb163ed4ab3910e87f1 | |
parent | d48c9a78f87b1975328f0459c900b969f6bc0a8f (diff) | |
download | dotfiles-f66a64ccbc5a690e1c8e12073b5cd202902c882b.tar.bz2 |
spacemacs: Use "bsd" style for C/C++ mode
-rw-r--r-- | _spacemacs.d/init.el | 7 |
1 files changed, 6 insertions, 1 deletions
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) |