Fix C/C++ flycheck hooks

This commit is contained in:
Eivind Fonn 2015-12-09 12:18:20 +01:00
parent ddd5e7112d
commit 549219e583

View file

@ -126,7 +126,7 @@
:init (push 'company-c-headers company-backends-c-mode-common))))
(defun c-c++/post-init-flycheck ()
(dolist (mode '(c-mode-hook c++-mode-hook))
(dolist (mode '(c-mode c++-mode))
(spacemacs/add-flycheck-hook mode)))
(defun c-c++/init-gdb-mi ()