auctex layer: add flycheck support

fixes #1478
This commit is contained in:
syl20bnr 2015-05-03 19:17:41 -04:00
parent b7c8ca7383
commit a931de637d

View file

@ -4,6 +4,7 @@
company
company-auctex
evil-matchit
flycheck
))
(defun auctex/init-auctex ()
@ -61,6 +62,9 @@
(defun auctex/post-init-evil-matchit ()
(add-hook 'LaTeX-mode-hook 'evil-matchit-mode))
(defun python/post-init-flycheck ()
(add-hook 'LaTeX-mode-hook 'flycheck-mode))
(when (configuration-layer/layer-usedp 'auto-completion)
(defun auctex/post-init-company ()
(spacemacs|add-company-hook LaTeX-mode))