mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
feature/lookup: remove devdocs support (for now)
devdocs-lookup is broken at the moment. devdocs search is still available through +lookup/online as a provider however. This may be reversed later, when (and if) we find a better devdocs backend.
This commit is contained in:
@@ -198,8 +198,7 @@ Goes down a list of possible backends:
|
||||
|
||||
1. The :documentation spec defined with by `set-lookup-handlers!'
|
||||
2. If the +docsets flag is active for :feature lookup, use `+lookup/in-docsets'
|
||||
3. If the +devdocs flag is active for :feature lookup, run `+lookup/in-devdocs'
|
||||
4. Fall back to an online search, with `+lookup/online'"
|
||||
3. Fall back to an online search, with `+lookup/online'"
|
||||
(interactive
|
||||
(list (+lookup--symbol-or-region)))
|
||||
(cond ((and +lookup-documentation-functions
|
||||
@@ -214,9 +213,6 @@ Goes down a list of possible backends:
|
||||
(helm-dash-installed-docsets))
|
||||
(+lookup/in-docsets identifier))
|
||||
|
||||
((featurep! +devdocs)
|
||||
(call-interactively #'+lookup/in-devdocs))
|
||||
|
||||
((+lookup/online
|
||||
identifier
|
||||
(+lookup--online-provider (not current-prefix-arg))))))
|
||||
@@ -272,9 +268,6 @@ Otherwise, falls back on `find-file-at-point'."
|
||||
;; Source-specific commands
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defalias #'+lookup/in-devdocs #'devdocs-lookup)
|
||||
|
||||
(defvar counsel-dash-docsets)
|
||||
(defvar helm-dash-docsets)
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user