branch: externals/vertico commit 07ecea8889903756224d3dbf4f18235f1289200b Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Document the chosen hook priority --- vertico.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vertico.el b/vertico.el index 58798b4..49922e6 100644 --- a/vertico.el +++ b/vertico.el @@ -701,6 +701,9 @@ When the prefix argument is 0, the group order is reset." completion-auto-help nil completion-show-inline-help nil) (use-local-map vertico-map) + ;; Use -90 to ensure that the exhibit hook runs early such that the + ;; candidates are available for Consult preview. It works, but besides + ;; that I'dont have a specific reason for this particular value. (add-hook 'post-command-hook #'vertico--exhibit -90 'local)) (defun vertico--advice (orig &rest args)