-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
:Gitsigns show upstream/master fails with message that buffer already is opened #808
Labels
bug
Something isn't working
Comments
Can you check if #815 fixes this? |
lewis6991
added a commit
that referenced
this issue
Jun 14, 2023
Was fixed, thanks alot. Now I can only get it showing an expected error, if I open the same branch in two windows. |
Which error is that? If you open the same branch it should just reuse the same buffer. |
My bad. I should have run |
This was referenced Apr 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Can not open previously opened buffer to show upstream master version of file.
Neovim version
NVIM v0.10.0-dev-472+g0370e4def
Operating system and version
Linux pc 6.3.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 13:44:01 +0000 x86_64 GNU/Linux
Expected behavior
If the buffer already exists, gitsigns should find it and open it without error message.
Actual behavior
Translation: Vim:E95 A buffer with this name already exists.
Minimal config
Steps to reproduce
nvim --clean -u minimal.lua
:Gitsign show upstream/master
:Gitsign show upstream/master
again and get aforementioned error message.Gitsigns debug messages
There should be no debug messages necessary.
The text was updated successfully, but these errors were encountered: