minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.13k stars 99 forks source link

consult-fd with preview conflicts with marginalia #882

Closed geza-herman closed 7 months ago

geza-herman commented 7 months ago

I used your tip how to enable preview for consult-fd. The problem is that marginalia's annotations are not shown if preview is enabled. When the async process starts (3 characters are entered to consult-fd), marginalia's annotations are shown for a very brief moment, then they disappear. If I browse the candidates (move up/down among the candidates), and if some candidate cannot be previewed (for example, gif is not supported by my emacs), then for the next movement, annotations reappear.

Here are the repro steps:

geza-herman commented 7 months ago

Thank you, now it works correctly!