for name, url in pairs {
gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
-- ADD OTHER PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE
} 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
signs = {
add = { text = " a" },
change = { text = " c" },
delete = { text = " d" },
topdelete = { text = " t" },
changedelete = { text = " C" },
untracked = { text = " u" },
},
signcolumn = true,
}
-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Description
when staging changes the signs used are the default ones
Neovim version
0.10
Operating system and version
nixos
Expected behavior
use the signs specified in the config
Actual behavior
the git diff inside this repo:
Minimal config
Steps to reproduce
mkdir gitsigns_issue
cd gitsigns_issue
git init
echo line 1\nline 2\nline 3\nline 4 > file
git add file
nvim --clean -u minimal.lua file
Gitsigns debug messages
No response
Gitsigns cache
No response