Yet another git blame plugin for Neovim.
If you're using a plugin manager like Lazy-vim, add the following line to your init.vim
or init.lua
:
return {
event = { "BufReadPre", "BufNewFile" },
"Djancyp/git-blame"
name = 'git-blame',
config = function()
require("git-blame").setup({
exclude_filetypes = { "config" }
})
end,
keys = {
{ '<leader>gb', function()
require("git-blame").blame()
end }
}
}