tools/lookup: fix definition (on mac) & synonym lookup
This commit is contained in:
parent
914b9b0424
commit
55f0be7074
2 changed files with 5 additions and 5 deletions
|
@ -336,7 +336,7 @@ Otherwise, falls back on `find-file-at-point'."
|
||||||
(unless (featurep! +dictionary)
|
(unless (featurep! +dictionary)
|
||||||
(user-error "The +dictionary feature hasn't be enabled on :tools lookup module"))
|
(user-error "The +dictionary feature hasn't be enabled on :tools lookup module"))
|
||||||
(cond (IS-MAC
|
(cond (IS-MAC
|
||||||
(osx-dictionary-search-input identifier))
|
(osx-dictionary--view-result identifier))
|
||||||
(+lookup-dictionary-enable-online
|
(+lookup-dictionary-enable-online
|
||||||
(define-word identifier nil arg))
|
(define-word identifier nil arg))
|
||||||
;; TODO Implement offline dictionary backend
|
;; TODO Implement offline dictionary backend
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
;;
|
;;
|
||||||
(package! dumb-jump)
|
(package! dumb-jump)
|
||||||
(when (featurep! :completion ivy)
|
(when (featurep! :completion ivy)
|
||||||
(package! ivy-xref)
|
(package! ivy-xref))
|
||||||
;; Need for Google/DuckDuckGo auto-completion on `+lookup/online'
|
|
||||||
(package! request))
|
|
||||||
(when (featurep! :completion helm)
|
(when (featurep! :completion helm)
|
||||||
(package! helm-google)
|
(package! helm-google)
|
||||||
(package! helm-xref))
|
(package! helm-xref))
|
||||||
|
@ -28,4 +26,6 @@
|
||||||
(if IS-MAC
|
(if IS-MAC
|
||||||
(package! osx-dictionary)
|
(package! osx-dictionary)
|
||||||
(package! define-word))
|
(package! define-word))
|
||||||
(package! powerthesaurus))
|
;; Need for Google/DuckDuckGo auto-completion on `+lookup/online'
|
||||||
|
(package! powerthesaurus)
|
||||||
|
(package! request))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue