[BUG] Diff panels not cleared when new suggestion is shown — stale diffs accumulate until window focus change
まだ誰も着手していません。
評価
調査の方向性
新しい提案を処理し、diff バッファーまたはウィンドウを管理する Neovim Claude Code 統合パスから始めます。issue では具体的なファイルやテストは指定されていません。2 回連続して変更を加えて再現し、その後、現在の diff だけが表示され続け、古いパネルを消去するためにフォーカスを切り替える必要がなくなっていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Lua
- スター
- 3.1k
- フォーク
- 217
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/claudecode.nvim のほかの issue
-
bug needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
coder/claudecode.nvim#314 ·
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#313 ·
-
needs-triage
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
coder/claudecode.nvim#319 · リアクション 1 件 ·
-
[BUG] 框选文本一直抱错误信息オープンbug needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
coder/claudecode.nvim#316 · コメント 1 件 ·
-
needs-triage
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
coder/claudecode.nvim#309 ·
coder/claudecode.nvim の issue をすべて見る
似ている issue
-
Zenmap bugオープンZenmap
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
[BUG] [25.12.5]オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pterodactyl/game-eggs#637 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
koreader/koreader#16115 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信