+jump/documentation: always prompt for provider with online fallback
This commit is contained in:
parent
560548db33
commit
2c2030b583
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue