mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void-function xref--show-defs error
When looking up some xref backends (e.g. tide).
This commit is contained in:
@ -180,6 +180,7 @@ This can be passed nil as its second argument to unset handlers for MODES. e.g.
|
|||||||
;;
|
;;
|
||||||
;;; Lookup backends
|
;;; Lookup backends
|
||||||
|
|
||||||
|
(autoload 'xref--show-defs "xref")
|
||||||
(defun +lookup--xref-show (fn identifier &optional show-fn)
|
(defun +lookup--xref-show (fn identifier &optional show-fn)
|
||||||
(let ((xrefs (funcall fn
|
(let ((xrefs (funcall fn
|
||||||
(xref-find-backend)
|
(xref-find-backend)
|
||||||
|
Reference in New Issue
Block a user