doomemacs/modules/tools/lookup/packages.el
Henrik Lissner c57aff9b81
Change how +lookup/online populates initial input
If no selection is active, there is no initial input.
If selection is active, use the selection.

Also remove helm-google package, as the helm functionality is provided
by the core helm package already (and actually works).
2019-12-29 19:24:45 -05:00

30 lines
875 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; tools/lookup/packages.el
;; HACK `dumb-jump' uses the `helm-build-sync-source' macro, but this requires
;; helm be loaded before `dumb-jump' is byte-compiled during installation.
;; To ensure this, we declare helm before dumb-jump.
(when (featurep! :completion helm)
(package! helm))
;;
(package! dumb-jump)
(when (featurep! :completion ivy)
(package! ivy-xref))
(when (featurep! :completion helm)
(package! helm-xref))
(when (featurep! +docsets)
(package! dash-docs)
(when (featurep! :completion helm)
(package! helm-dash))
(when (featurep! :completion ivy)
(package! counsel-dash)))
(when (featurep! +dictionary)
(if IS-MAC
(package! osx-dictionary)
(package! define-word))
;; Need for Google/DuckDuckGo auto-completion on `+lookup/online'
(package! powerthesaurus)
(package! request))