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)
|
||||
(user-error "The +dictionary feature hasn't be enabled on :tools lookup module"))
|
||||
(cond (IS-MAC
|
||||
(osx-dictionary-search-input identifier))
|
||||
(osx-dictionary--view-result identifier))
|
||||
(+lookup-dictionary-enable-online
|
||||
(define-word identifier nil arg))
|
||||
;; TODO Implement offline dictionary backend
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
;;
|
||||
(package! dumb-jump)
|
||||
(when (featurep! :completion ivy)
|
||||
(package! ivy-xref)
|
||||
;; Need for Google/DuckDuckGo auto-completion on `+lookup/online'
|
||||
(package! request))
|
||||
(package! ivy-xref))
|
||||
(when (featurep! :completion helm)
|
||||
(package! helm-google)
|
||||
(package! helm-xref))
|
||||
|
@ -28,4 +26,6 @@
|
|||
(if IS-MAC
|
||||
(package! osx-dictionary)
|
||||
(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