You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:Gitsigns blame add gaps to the main window when the diff is smaller than two lines. I found that when scrolling line by line using j or <C-e>, the blame window will not follow the scroll when the one gap is scrolled out of the screen.
The two windows should scroll together and be always aligned.
Actual behavior
If it is a gap rather than a line of text be scrolled out the screen, the blame window will not be scroll following the main window.
Minimal config
forname, urlinpairs{
gitsigns='https://github.com/lewis6991/gitsigns.nvim',
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
} dolocalinstall_path=vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
ifvim.fn.isdirectory(install_path) ==0thenvim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
endvim.opt.runtimepath:append(install_path)
endrequire('gitsigns').setup{
debug_mode=true, -- You must add this to enable debug messages-- ADD GITSIGNS CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}
-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Steps to reproduce
Clone gitsigns.nvim
Create minimal.lua in place and save it after copying its content
Open a file of the gitsigns.nvim repo by nvim -u minimal.lua lua/gitsigns.lua
Scroll line by line
Gitsigns debug messages
No response
Gitsigns cache
No response
The text was updated successfully, but these errors were encountered:
I also guessed that it might be an upstream problem, but there will not be this issue when just using diff-mode, which utilizes set scrollbind too. I have no idea how to make it work properly.
Description
:Gitsigns blame
add gaps to the main window when the diff is smaller than two lines. I found that when scrolling line by line usingj
or<C-e>
, the blame window will not follow the scroll when the one gap is scrolled out of the screen._20240625_203753.webm
Neovim version
NVIM v0.11.0-dev-3461+g9e436251d (latest master currently)
Operating system and version
6.9.6-arch1-1
Expected behavior
The two windows should scroll together and be always aligned.
Actual behavior
If it is a gap rather than a line of text be scrolled out the screen, the blame window will not be scroll following the main window.
Minimal config
Steps to reproduce
minimal.lua
in place and save it after copying its contentgitsigns.nvim
repo bynvim -u minimal.lua lua/gitsigns.lua
Gitsigns debug messages
No response
Gitsigns cache
No response
The text was updated successfully, but these errors were encountered: