On doing :VGit buffer_diff_preview, I get this error:
[VGit] fatal: path '.config/nvim/lua/plugins/init.lua' is in the index, but not 'init.lua'
hint: Did you mean ':0:.config/nvim/lua/plugins/init.lua' aka ':0:./init.lua'?
How to reproduce:
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{
"tanvirtin/vgit.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
},
config = function()
require("vgit").setup()
end,
},
})
nvim --version output:
NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Ventura
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.3/share/nvim"
Description
On doing
:VGit buffer_diff_preview
, I get this error:How to reproduce:
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.3/share/nvim"
Run :checkhealth for more info