Move flycheck config to emacs-lisp layer
This commit is contained in:
parent
4e989acce8
commit
e87e51a6d4
|
@ -16,6 +16,7 @@
|
||||||
eldoc
|
eldoc
|
||||||
elisp-slime-nav
|
elisp-slime-nav
|
||||||
evil
|
evil
|
||||||
|
flycheck
|
||||||
ielm
|
ielm
|
||||||
macrostep
|
macrostep
|
||||||
semantic
|
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 ()
|
(defun emacs-lisp/post-init-semantic ()
|
||||||
(semantic/enable-semantic-mode 'emacs-lisp-mode)
|
(semantic/enable-semantic-mode 'emacs-lisp-mode)
|
||||||
(eval-after-load 'semantic
|
(eval-after-load 'semantic
|
||||||
|
|
|
@ -33,10 +33,6 @@
|
||||||
:evil-leader "ts"))
|
:evil-leader "ts"))
|
||||||
:config
|
:config
|
||||||
(progn
|
(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")
|
(spacemacs|diminish flycheck-mode " ⓢ" " s")
|
||||||
|
|
||||||
;; color mode line faces
|
;; color mode line faces
|
||||||
|
|
Loading…
Reference in a new issue