Some packages (like evil-collection and dumb-jump) use helm macros, but Doom cannot ensure helm will be installed by the time these packages are byte-compiled during installation. In fact, the default load order prevents this. Rather than imposing hard load order requirements, we just make sure helm is higher on the packages list, so it gets installed sooner.
24 lines
736 B
EmacsLisp
24 lines
736 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; feature/lookup/packages.el
|
|
|
|
;; `dumb-jump' uses the `helm-build-sync-source' macro, but this requires helm be
|
|
;; loaded before it is byte-compiled during installation. To ensure this, we
|
|
;; declare helm before dumb-jump.
|
|
(when (featurep! :completion helm)
|
|
(depends-on! :completion helm))
|
|
|
|
;;
|
|
(package! dumb-jump)
|
|
(when (featurep! :completion ivy)
|
|
(package! ivy-xref))
|
|
(when (featurep! :completion helm)
|
|
(package! helm-xref))
|
|
|
|
(when (featurep! +docsets)
|
|
(when (featurep! :completion helm)
|
|
(package! helm-dash))
|
|
(when (featurep! :completion ivy)
|
|
(package! counsel-dash)))
|
|
|
|
(when (featurep! +devdocs)
|
|
(package! devdocs-lookup :recipe (:fetcher github :repo "skeeto/devdocs-lookup")))
|