diff --git a/modules/feature/evil/packages.el b/modules/feature/evil/packages.el index 642acc328..cafea2efc 100644 --- a/modules/feature/evil/packages.el +++ b/modules/feature/evil/packages.el @@ -1,6 +1,13 @@ ;; -*- no-byte-compile: t; -*- ;;; feature/evil/packages.el +;; `evil-collection' uses the `with-helm-buffer' macro, but this requires helm +;; be loaded before it is byte-compiled during installation. To ensure this, we +;; declare helm before evil-collection. +(when (featurep! :completion helm) + (depends-on! :completion helm)) + +;; (package! evil) (package! evil-args) (package! evil-commentary) diff --git a/modules/feature/lookup/packages.el b/modules/feature/lookup/packages.el index cf09f591b..edfc1acad 100644 --- a/modules/feature/lookup/packages.el +++ b/modules/feature/lookup/packages.el @@ -1,6 +1,13 @@ ;; -*- 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))