mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/elm: gate flycheck-elm behind featurep! check
This commit is contained in:
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(def-package! flycheck-elm
|
(def-package! flycheck-elm
|
||||||
:after (:all flycheck elm-mode)
|
:when (featurep! :feature syntax-checker)
|
||||||
|
:after elm-mode
|
||||||
:hook (flycheck-mode . flycheck-elm-setup))
|
:hook (flycheck-mode . flycheck-elm-setup))
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; lang/elm/packages.el
|
;;; lang/elm/packages.el
|
||||||
|
|
||||||
(package! flycheck-elm)
|
|
||||||
(package! elm-mode)
|
(package! elm-mode)
|
||||||
|
(when (featurep! :feature syntax-checker)
|
||||||
|
(package! flycheck-elm))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user