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:
parent
d6762bc893
commit
1ba674077a
2 changed files with 8 additions and 0 deletions
|
@ -27,3 +27,8 @@
|
||||||
(setq flycheck-pos-tip-timeout 10
|
(setq flycheck-pos-tip-timeout 10
|
||||||
flycheck-display-errors-delay 0.5)
|
flycheck-display-errors-delay 0.5)
|
||||||
(flycheck-pos-tip-mode +1))
|
(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)))
|
||||||
|
|
|
@ -4,3 +4,6 @@
|
||||||
(package! flycheck)
|
(package! flycheck)
|
||||||
(package! flycheck-pos-tip)
|
(package! flycheck-pos-tip)
|
||||||
|
|
||||||
|
(when (featurep! :lang emacs-lisp)
|
||||||
|
(package! flycheck-cask))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue