## Bug Description When claude code ask me to edit a file, the preview ui in my neovim somehow is glitch. ## To Reproduce Steps to reproduce the behavior: 1. cd to a work directory, then run nvim 2. open a file, <leader>ac to open claude code pane 3. Tell claude code to edit something ## Expected Behavior The split pane of preview diff should show the right position ## Environment - Neovim version: 0.11.6 - Claude Code CLI version: 2.1.84 - OS: MacOS Tahoe 26.3.1 - Plugin version: Latest ## Additional findings The bug only occurs when using Snacks Explorer (LazyVim default). Switching to neo-tree resolves the issue completely. This suggests claudecode.nvim does not properly detect snacks_explorer window type when deciding where to open the diff split. Expected: diff should open in the editor window, not the explorer window https://github.com/user-attachments/assets/027c96c5-a59d-4d39-89e2-4705df417e2e
Bug Description
When claude code ask me to edit a file, the preview ui in my neovim somehow is glitch.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The split pane of preview diff should show the right position
Environment
Additional findings
The bug only occurs when using Snacks Explorer (LazyVim default).
Switching to neo-tree resolves the issue completely.
This suggests claudecode.nvim does not properly detect snacks_explorer
window type when deciding where to open the diff split.
Expected: diff should open in the editor window, not the explorer window
Screen.Recording.2026-04-06.at.18.29.10.mov