Move flycheck config to emacs-lisp layer

This commit is contained in:
syl20bnr 2015-08-13 22:40:29 -04:00
parent 4e989acce8
commit e87e51a6d4
2 changed files with 6 additions and 4 deletions

View file

@ -16,6 +16,7 @@
eldoc
elisp-slime-nav
evil
flycheck
ielm
macrostep
semantic
@ -79,6 +80,11 @@
";; "
""))))
(defun emacs-lisp/post-init-flycheck ()
;; Make flycheck recognize packages in loadpath
;; i.e (require 'company) will not give an error now
(setq flycheck-emacs-lisp-load-path 'inherit))
(defun emacs-lisp/post-init-semantic ()
(semantic/enable-semantic-mode 'emacs-lisp-mode)
(eval-after-load 'semantic

View file

@ -33,10 +33,6 @@
:evil-leader "ts"))
:config
(progn
;; Make flycheck recognize packages in loadpath
;; i.e (require 'company) will not give an error now
(setq flycheck-emacs-lisp-load-path 'inherit)
(spacemacs|diminish flycheck-mode "" " s")
;; color mode line faces