This plugin is inspired by vscode's Gitlens extension.
Using vim-plug
Plug 'kessejones/git-blame-line.nvim'
Using packer.nvim
use { 'kessejones/git-blame-line.nvim' }
git-blame-line needs to be initialized with the setup function.
For example:
require'git-blame-line'.setup({
git = {
default_message = 'Not committed yet',
blame_format = '%an - %ar - %s' -- see https://git-scm.com/docs/pretty-formats
},
view = {
left_padding_size = 5,
enable_cursor_hold = false
}
})
It will always be considered the default value for options not defined in the setup function
- GitBlameLineShow - show commit information of the line
- GitBlameLineClear - hide text displayed by GitBlameLineShow command
We welcome any kind of contribution.
Please, look at the Issues page to see the current backlog, new suggestions, and bugs to work.
Distributed under the same terms as Neovim itself.