[BUG] Diff panels not cleared when new suggestion is shown — stale diffs accumulate until window focus change
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia nel percorso di integrazione di Neovim Claude Code che gestisce un nuovo suggerimento e amministra buffer o finestre diff; l’issue non indica file o test specifici. Riproduci il problema con due modifiche successive, quindi verifica che rimanga visibile solo il diff corrente e che non sia più necessario cambiare il focus per cancellare i pannelli obsoleti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
After the latest update, sometimes diff panels shown in Neovim are not cleared when Claude Code proposes a new change. Previous diffs remain visible in the split panels and accumulate over time. The only way to dismiss them is to manually switch focus to the LazyVim tab.
To Reproduce
Steps to reproduce the behavior:
- Open Ghostty with a tab split in two panes: Claude Code on one side, LazyVim on the other.
- Start the Claude Code integration in Neovim.
- Ask Claude to make a change to a file — a diff is shown in the split panels.
- Ask Claude to make a second (different) change to the same or another file.
- Observe that the previous diff is still visible alongside the new one — diffs accumulate.
Expected Behavior
When Claude Code proposes a new change, any previously displayed diff panels should be cleared/replaced, so that only the current suggestion is visible.
Environment
- Neovim version: 0.11.6
- Claude Code CLI version: 2.1.70
- OS: macOS 26.3
- Plugin version: commit 432121f
Error Messages
No explicit error messages — visual/rendering issue only.
Additional Context
The issue seems to be related to focus/window state: switching focus to the LazyVim pane forces the stale diffs to disappear. This suggests the diff buffers or windows are not being properly closed/reset when a new suggestion is triggered.
- Lingua principale
- Lua
- Stelle
- 3.1k
- Fork
- 217
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/claudecode.nvim
-
bug needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
coder/claudecode.nvim#314 ·
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
coder/claudecode.nvim#313 ·
-
Is this plugin abondonned? Apertaneeds-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
coder/claudecode.nvim#319 · 1 reazione ·
-
[BUG] 框选文本一直抱错误信息 Apertabug needs-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
coder/claudecode.nvim#316 · 1 commento ·
-
needs-triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
coder/claudecode.nvim#309 ·
Tutte le issue di coder/claudecode.nvim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
openSUSE/python-rpm-macros#219 ·
-
bug mini.bracketed
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
accessibility bug typst
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
quarto-dev/quarto-cli#14947 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
HenrikBengtsson/CBI-software#134 ·
-
Nmap
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100