mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
+jump/documentation: always prompt for provider with online fallback
This commit is contained in:
@ -97,7 +97,9 @@ Tries `xref-find-references' and falls back to rg/ag."
|
|||||||
(cond ((plist-member +jump-current-functions :documentation)
|
(cond ((plist-member +jump-current-functions :documentation)
|
||||||
(+jump-to :documentation identifier))
|
(+jump-to :documentation identifier))
|
||||||
(t
|
(t
|
||||||
(+jump/online (caar +jump-search-provider-alist) identifier))))
|
(+jump/online
|
||||||
|
identifier
|
||||||
|
(+jump--online-get-provider (not current-prefix-arg))))))
|
||||||
|
|
||||||
(defun +jump--online-get-provider (&optional force-p)
|
(defun +jump--online-get-provider (&optional force-p)
|
||||||
(or (and (not force-p)
|
(or (and (not force-p)
|
||||||
|
Reference in New Issue
Block a user