feature/lookup: fix lookup commands skipping to project text search

This commit is contained in:
Henrik Lissner 2018-04-23 01:19:26 -04:00
parent cf99f29ee0
commit 7579110534
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 16 additions and 5 deletions

View file

@ -33,12 +33,12 @@ produces an url. Used by `+lookup/online'.")
(defvar +lookup-open-url-fn #'browse-url
"Function to use to open search urls.")
(defvar +lookup-definition-functions '(xref-find-definitions)
(defvar +lookup-definition-functions '(+lookup-xref-definitions)
"Functions for `+lookup/definition' to try, before resorting to `dumb-jump'.
Stops at the first function to return non-nil or change the current
window/point.")
(defvar +lookup-references-functions '(xref-find-references)
(defvar +lookup-references-functions '(+lookup-xref-references)
"Functions for `+lookup/references' to try, before resorting to `dumb-jump'.
Stops at the first function to return non-nil or change the current
window/point.")