perf(lookup): defer consult-xref
`consult-xref` is autoloaded anyway. There are some packages that require `xref` (such as lispy through requiring etags) so without deferring, loading those packages may cause `consult.el` to be loaded.
This commit is contained in:
parent
d7ad4daf32
commit
7ada538991
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ Dictionary.app behind the scenes to get definitions.")
|
||||||
|
|
||||||
(use-package! consult-xref
|
(use-package! consult-xref
|
||||||
:when (featurep! :completion vertico)
|
:when (featurep! :completion vertico)
|
||||||
|
:defer t
|
||||||
:init
|
:init
|
||||||
(setq xref-show-xrefs-function #'consult-xref
|
(setq xref-show-xrefs-function #'consult-xref
|
||||||
xref-show-definitions-function #'consult-xref)))
|
xref-show-definitions-function #'consult-xref)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue