mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -182,6 +182,7 @@ Dictionary.app behind the scenes to get definitions.")
|
||||
|
||||
(use-package! consult-xref
|
||||
:when (featurep! :completion vertico)
|
||||
:defer t
|
||||
:init
|
||||
(setq xref-show-xrefs-function #'consult-xref
|
||||
xref-show-definitions-function #'consult-xref)))
|
||||
|
Reference in New Issue
Block a user