How to intercept inline prompts now that StartedInline
/FinishedInline
changed?
#2176
Unanswered
denchiklut
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Definitely using the event system. I don't recall those events being removed. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! First - thanks for the amazing plugin 🙏
I used to hook into inline prompts using the events
StartedInline
andFinishedInline
to show a tiny “inline loader” while a prompt was running. It looks like something changed in recent releases and my old approach no longer fires.Question: What’s the current/best way to intercept the start/finish of an inline prompt so I can toggle a loader?
Previous approach (worked before):
I matched for
StartedInline
/FinishedInline
and toggled a small UI indicator. Here’s my actual config where I wire this up:https://github.com/denchiklut/dotfiles/blob/28d7fcaa833df6c47284e58160100bf0300d2646/.config/nvim/lua/configs/codecompanion/index.lua#L54
Beta Was this translation helpful? Give feedback.
All reactions