A wild error appeared after one of recent commits:
Error executing vim.schedule lua callback: ...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/async.lua:85: The coroutine failed with this message: ...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/blame.lua:118: Invalid 'col': out of range
stack traceback:
[C]: in function 'nvim_buf_set_extmark'
...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/blame.lua:118: in function 'render'
...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/blame.lua:273: in function <...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/blame.lua:250>
stack traceback:
[C]: in function 'error'
...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/async.lua:85: in function 'cb'
...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/async.lua:127: in function <...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/async.lua:126>
Neovim version
0.10
Operating system and version
macOS 14.5
Expected behavior
No response
Actual behavior
Error while using Error while :GitSigns blame
Minimal config
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
-- ADD GITSIGNS CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
}
-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Description
A wild error appeared after one of recent commits:
Neovim version
0.10
Operating system and version
macOS 14.5
Expected behavior
No response
Actual behavior
Error while using
Error while :GitSigns blame
Minimal config
Steps to reproduce
mkdir gitsigns_issue
cd gitsigns_issue
git init
touch file
git add file
git commit -m 'initial commit'
nvim --clean -u minimal.lua file
nvim file
:Gitsigns blame
Gitsigns debug messages
No response
Gitsigns cache
No response