-
-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
bisected to: 1fcaddc
Neovim version
NVIM v0.12.0-dev-905+gd08b26511154
Operating system and version
macos
Expected behavior
After fugitive :Gwrite
to stage buffer changes, gitsigns should not show signs for changed/added/deleted lines.
Actual behavior
After fugitive :Gwrite
to stage buffer changes, the signs for changed/added/deleted lines are still shown, they aren't auto-updated.
Minimal config
for name, url in pairs{
gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
fugitive = 'https://github.com/tpope/vim-fugitive/',
} do
local install_path = vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
end
vim.opt.runtimepath:append(install_path)
end
require('gitsigns').setup{
debug_mode = true, -- You must add this to enable debug messages
}
Steps to reproduce
nvim --clean -u min.lua
- delete a line in a git-tracked file
- gitsigns shows "deleted" sign on the line.
:write
(save the file):Gwrite
(stage the changes with fugitive)- gitsigns still shows the deleted sign.
Gitsigns debug messages
Gitsigns cache
alex-courtis, johnsonsu, v1adhope, EarlPitts, MastarCheeze and 6 moreprzepompownia
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working