Skip to content

Maybe revisit using xref-after-jump-hook instead of consult-after-jump-hook #1229

Answered by minad
dhashe asked this question in Q&A
Discussion options

You must be logged in to vote

I wanted to confirm if the logic for having consult-after-jump-hook separate from xref-after-jump-hook still holds, and whether it is expected from your end that a project like lsp-mode that wants to run actions on previewed buffers needs to add to consult-after-jump-hook in addition to xref-after-jump-hook.

I think it still holds, but feel free to investigate. I think the problem is also that xref is not always loaded in the context of Consult.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dhashe
Comment options

@minad
Comment options

minad Jun 1, 2025
Maintainer

@minad
Comment options

minad Jun 1, 2025
Maintainer

@dhashe
Comment options

Answer selected by dhashe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants