8000 Buffer not updating after discard in Neogit · Issue #1690 · NeogitOrg/neogit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Buffer not updating after discard in Neogit #1690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
reybits opened this issue Mar 16, 2025 · 1 comment
Open

Buffer not updating after discard in Neogit #1690

reybits opened this issue Mar 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@reybits
Copy link
reybits commented Mar 16, 2025

Description

When a buffer with unsaved changes is discarded from Neogit, its contents do not update after closing the Neogit window. The changes are discarded, but the buffer still displays the old content until manually reloaded.

Is this an issue with my Neogit configuration, or could I have misconfigured something in my Neovim setup?

Thanks!

Neovim version

NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1736781742

Operating system and version

macOS 15.3.2

Steps to reproduce

  1. Edit a file and make some changes.
  2. Open Neogit.
  3. Discard changes in that file using (x).
  4. Close Neogit.

Expected behavior

The buffer content should update to match the file’s state in Git after discarding the changes.

Actual behavior

The buffer content still shows the changes that were discarded using the discard command.

Minimal config

Nothing unusual, default Neogit config.
@reybits reybits added the bug Something isn't working label Mar 16, 2025
@HPRIOR
Copy link
HPRIOR commented Apr 17, 2025

I'm having the same issue.

NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1713773202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0