jackMort / jackMort/ChatGPT.nvim
stuck on processing - adding possible reset or clear command
- Dominant language
- Lua
- Stars
- 4k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
I recently ran into issues like
- "invalid capture index"
- or i accidentally used the whole buffer for a request
- or my internet reception was bad and the request couldn't go through 100%
When either of those happens, then the "processing, please wait ... " overlay stays int the buffer as well as the gray background.
Closing the buffer and reopening does not solve this issue C-x does not either.
Anyhow in those cases something like a :ChatGPTRun clear_requests or just reset command would be useful, to basically reset the plugin and remove all overlays...
Or maybe i'am missing another fix how to do this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the :ChatGPTRun command entry point and trace the processing overlay state after invalid capture indexes, oversized buffers, or failed requests. Done means a clear/reset action removes the overlay and gray background and allows the buffer and plugin to be used again; verify behavior for each listed failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100