Updating Eldoc echo area after jumping with consult-flymake #1115
Unanswered
ashlineldridge
asked this question in
Q&A
Replies: 1 comment
-
Hmm, I haven't tried, but I suspect that the Consult preview is the problem since the buffer is updated while the completion command is still running. Maybe it is possible to trigger Eldoc somehow via the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When calling commands like
flymake-goto-next-error
, the Eldoc echo area is updated when jumping to a Flymake error. Additionally, Eldoc has theeldoc-add-command
andeldoc-add-command-completions
functions for registering additional commands that should trigger an update of Eldoc. For example, I have added this line to my config:So that jumping with Xref causes Eldoc to update. However, when I try to do the same with
consult-flymake
it doesn't work (e.g.(eldoc-add-command "consult-flymake")
). I haveeldoc-echo-area-prefer-doc-buffer
set tot
and if Eldoc buffer is visible thenconsult-flymake
will trigger an update of the Eldoc buffer. But if the Eldoc buffer is not visible, I can't seem to getconsult-flymake
to update the Eldoc echo area like I can with other commands. I have also tried using:after
advice but didn't have any luck there either.Any tips?
Beta Was this translation helpful? Give feedback.
All reactions