-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Signs Not Updating for Non-Loaded Buffers #1122
Comments
Experiencing the same issue. I make changes to the code, the left signs color show up correctly, then I commit and push, but the color don't refresh. I would have to close nvim and reopen it. Here are some information about my gitsigns. I am using astronvim. |
|
This happens to me specifically when I do a commit with neogit. |
This comment was marked as duplicate.
This comment was marked as duplicate.
I'm guessing you have |
@lewis6991 |
How is the buffer not loaded? What is unloading it? |
I cannot reproduce this. Can anyone provide precise steps on how to reproduce this issue. Please do not mention anything to do with LazyVim, NvChad, etc. |
Description
Any buffers that are not shown in Neovim will not update their git signs upon a commit.
If a buffer is shown during a commit, the signs "disappear" as expected on commit.
In this brief example, I make a change to
foo.txt
and navigate tobar.txt
.I then commit the changes and navigate back to
foo.txt
to see the signs still by my changes.A restart of Neovim removes the signs.
git.signs.example.1.mov
Neovim version
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1720049189
Operating system and version
MacOS Sonoma 14.6.1
Expected behavior
All git signs for all buffers (shown or not) are cleared on a commit.
Actual behavior
All git signs in buffers that are not shown are not cleared on a commit.
Minimal config
Steps to reproduce
Gitsigns debug messages
Gitsigns cache
The text was updated successfully, but these errors were encountered: