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
With base = '@' in the config if you open any file that didn't exist in the previous commit you get the error below after a28bb1d
Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info
Operating system and version
Arch Linux 2024-05-26
Expected behavior
No errors :)
Actual behavior
Error executing luv callback:
...cal/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/async.lua:85: The coroutine failed with this message: vim/shared.lua:0: s: expected string, got nil
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
vim/shared.lua: in function 'gsplit'
vim/shared.lua: in function 'split'
...local/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/git.lua:521: in function 'file_info'
...local/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/git.lua:405: in function 'update'
...local/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/git.lua:900: in function 'new'
...al/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/attach.lua:273: in function 'fn'
.../share/nvim/lazy/gitsigns.nvim/lua/gitsigns/debounce.lua:68: in function 'attach_throttled'
...al/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/attach.lua:420: in function <...al/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/attach.lua:419>
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 'on_exit'
/usr/share/nvim/runtime/lua/vim/_system.lua:300: in function </usr/share/nvim/runtime/lua/vim/_system.lua:270>
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 messagesbase='@'
}
Description
With
base = '@'
in the config if you open any file that didn't exist in the previous commit you get the error below after a28bb1dNeovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info
Operating system and version
Arch Linux 2024-05-26
Expected behavior
No errors :)
Actual behavior
Minimal config
Steps to reproduce
nvim --clean -u minimal.lua new-filename-that-didnt-exist-in-the-previous-commit.txt
Gitsigns debug messages
No response
The text was updated successfully, but these errors were encountered: