Add: feature/syntax-checker: add flycheck-cask for emacs-lisp

This is used to set up the flycheck load-path correctly for emacs-lisp package
development.
This commit is contained in:
Benjamin Andresen 2017-07-15 04:07:52 +02:00
parent d6762bc893
commit 1ba674077a
2 changed files with 8 additions and 0 deletions

View file

@ -27,3 +27,8 @@
(setq flycheck-pos-tip-timeout 10
flycheck-display-errors-delay 0.5)
(flycheck-pos-tip-mode +1))
(when (featurep! :lang emacs-lisp)
(def-package! flycheck-cask
:commands flycheck-cask-setup
:init (add-hook 'flycheck-mode-hook #'flycheck-cask-setup)))

View file

@ -4,3 +4,6 @@
(package! flycheck)
(package! flycheck-pos-tip)
(when (featurep! :lang emacs-lisp)
(package! flycheck-cask))