Skip to content

[BUG] crashes with new files #69

Closed

Description

@nikozdev

Bug Description

If I reject any new file claude is trying to write, it opens diffs with one empty buffer and one written buffer.
If I reject changes, then ask it to write again without closing the empty buffer - it crashes claude code.

To Reproduce

Steps to reproduce the behavior:

  1. start claude code chat
  2. ask it to write any new file
  3. reject the changes, leaving "empty diff buffer" opened
  4. ask to keep writing

Expected Behavior

we could either close the empty buffer with new buffer or simply keep writing with that empty buffer left open.

Environment

  • Neovim version: 0.10.+
  • Claude Code CLI version: 1.0.38
  • OS: macOS latest

Activity

  1. ThomasK33 commented on Aug 8, 2025

    @ThomasK33
    Member

    Hey @nikozdev, thanks for opening this issue.

    I've pushed #114.
    Please try it and let me know if it fixes your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions