Fix C/C++ flycheck hooks
This commit is contained in:
parent
ddd5e7112d
commit
549219e583
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue