Move flycheck config to emacs-lisp layer
This commit is contained in:
parent
4e989acce8
commit
e87e51a6d4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue