Replies: 2 comments 5 replies
-
I haven't tried consult-eglot yet. Maybe the problem goes away if you use a short delay for the preview? cc @mohkale |
Beta Was this translation helpful? Give feedback.
-
I've now tried mohkale's suggestion which appears to work. I played around with the values and in this particular instance values >=0.2 seemed to work around the issue. Even at 0.2 the usability feels laggy. If I understand the fix right it sort of papers over the issue rather than properly fixes it. If some project was particularly complex and returning/resolving the symbol information takes long then the debounce value might have to be increased? Also this still leaves a similar issue with the candidate list display which I hadn't noticed before. The candidate list also displays some kind of unrelated "default" state when typing/erasing characters before displaying the refined candidate list. |
Beta Was this translation helpful? Give feedback.
-
When using constult and consult-eglot
consult-eglot-symbols
the preview buffers behave in an undesirable way. Every key press the buffer for the first symbol in the list is briefly flashed before showing the intended preview buffer. It is rather jarring to type and watch the buffers flash.To further explain If you invoke
consult-eglot-symbols
a preview buffer B0 is shown for the first symbol "abc" of the candidate symbol list. You press 'd' and land on preview buffer B1 on symbol "def". Press 'e' and the preview buffer B0 is briefly flashed before landing back on preview buffer B1 on symbol "def" again. Press 'f' and the preview buffer for B0 is briefly flashed before landing back on the preview buffer B1 on symbol "def" again.Is there some way to disable this behaviour that keeps flashing the preview buffer B0 unnecessarily, but does not disable the preview feature?
Beta Was this translation helpful? Give feedback.
All reactions