A lightweight Neovim plugin written in Lua that displays Git blame information as virtual text and integrates with statuslines.
git-blame.nvim is a Git blame plugin for Neovim written entirely in Lua. It displays authorship information (like who last modified a line and when) as inline virtual text next to each line of code, helping developers quickly trace changes and improve collaboration. It integrates directly into the editor to provide immediate context without leaving the buffer.
Neovim users who work with Git repositories and need to frequently inspect line-by-line commit history directly within their editor. It's particularly useful for developers on teams who need to understand code authorship for review or debugging.
Developers choose this plugin because it's lightweight and performant, being written in pure Lua with no external dependencies like Node.js. It offers deep configurability, seamless Neovim ecosystem integration, and supports multiple Git hosting platforms (GitHub, GitLab, etc.) out of the box.
Git Blame plugin for Neovim written in Lua
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Written entirely in Lua with no external dependencies like Node.js, making it lightweight and fast, as emphasized in the Philosophy section.
Offers customizable message templates with placeholders for author, date, summary, and SHA, and supports various date formats, detailed in the Configuration section.
Provides virtual text display, statusline integration with plugins like lualine.nvim, and commands for browser and clipboard operations, enhancing workflow within Neovim.
Works with multiple Git hosting services including GitHub, GitLab, Sourcehut, and others, with configurable remote domains for self-hosted instances, as listed in Remote forge domains.
In large projects, performance can degrade, necessitating manual configuration of event scheduling from CursorMoved to CursorHold, as admitted in the 'Better Performance' section.
Requires Neovim >= 0.5.0, limiting compatibility for users on older versions or other editors like Vim, as stated in Requirements.
Commands like :GitBlameCopyPRURL require the GitHub CLI (gh) to be installed and authenticated, adding an external dependency for full functionality.
While Vimscript config is supported, the recommended setup is in Lua, which might be a barrier for users unfamiliar with Lua configuration in Neovim, as noted in the Using Lua section.