lewis6991 / gitsigns.nvim

Git integration for buffers
MIT License
4.87k stars 186 forks source link

WARN: gitsigns: Ignoring invalid configuration field 'signs_staged' #1092

Closed sergiomb2 closed 1 month ago

sergiomb2 commented 1 month ago

Description

after latest updates https://www.reddit.com/r/neovim/comments/1drxdoy/warn_gitsigns_ignoring_invalid_configuration/

Neovim version

NVIM v0.9.5

Operating system and version

Fedora e Ubutun

Expected behavior

not warning every time that we open neovim

Actual behavior

warning every time that we open neovim

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

Steps to reproduce

nvim file

Gitsigns debug messages

No response

Gitsigns cache

No response

sergiomb2 commented 1 month ago

I'm newbie on neovim , neovim by default updates all from git, which is terrible in my POV , as I reported at least this happened to 3 persons see the reddit link , I wish I know restore the previous configuration , I use Lazyvim