{"id":28280545,"url":"https://github.com/steschwa/git-blame.nvim","last_synced_at":"2026-02-24T20:45:36.303Z","repository":{"id":274526823,"uuid":"923201889","full_name":"steschwa/git-blame.nvim","owner":"steschwa","description":"Neovim plugin for displaying Git blame information in a floating window","archived":false,"fork":false,"pushed_at":"2025-11-04T19:20:07.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-04T21:19:10.818Z","etag":null,"topics":["git","neovim","neovim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steschwa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-27T20:10:17.000Z","updated_at":"2025-11-04T19:20:11.000Z","dependencies_parsed_at":"2025-01-27T21:35:06.237Z","dependency_job_id":null,"html_url":"https://github.com/steschwa/git-blame.nvim","commit_stats":null,"previous_names":["steschwa/git-blame.nvim"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/steschwa/git-blame.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steschwa%2Fgit-blame.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steschwa%2Fgit-blame.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steschwa%2Fgit-blame.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steschwa%2Fgit-blame.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steschwa","download_url":"https://codeload.github.com/steschwa/git-blame.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steschwa%2Fgit-blame.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29799236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T19:56:48.334Z","status":"ssl_error","status_checked_at":"2026-02-24T19:55:43.372Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","neovim","neovim-plugin"],"created_at":"2025-05-21T10:17:14.487Z","updated_at":"2026-02-24T20:45:36.298Z","avatar_url":"https://github.com/steschwa.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-blame.nvim\n\nA Neovim plugin that displays Git blame information for the current line in a floating window.\n\n![Git blame in a floating window in Neovim](./assets/preview.png)\n\n## Installation\n\nUsing [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n    \"steschwa/git-blame.nvim\",\n    keys = {\n        { \"gb\", \"\u003ccmd\u003eGitBlameLine\u003ccr\u003e\", desc = \"Git blame current line\" }\n    },\n    opts = {\n        -- your configuration here\n    }\n}\n```\n\n## Configuration\n\nCustomize the blame output by defining **provider functions** that format the information.\n\n### Setup Structure\n\n```lua\n{\n    lines = {},   -- List of rows, each containing provider functions\n    window = {}   -- Window options (passed to vim.api.nvim_open_win)\n}\n```\n\n**Types:**\n\n- `git-blame.Provider`: `fun(blame: git-blame.BlameInfo): git-blame.Part`\n- `git-blame.BlameInfo`: `{ sha, author, author_email, timestamp, message }`\n- `git-blame.Part`: `{ text: string, hl?: string }`\n\n### Example\n\n```lua\n{\n    \"steschwa/git-blame.nvim\",\n    keys = {\n        { \"gb\", \"\u003ccmd\u003eGitBlameLine\u003ccr\u003e\", desc = \"Git blame current line\" }\n    },\n    opts = {\n        lines = {\n            {\n                function(blame)\n                    return { text = blame.sha:sub(1, 7) .. \"  \", hl = \"Comment\" }\n                end,\n                function(blame)\n                    return { text = vim.fn.strftime(\"%Y-%m-%d\", blame.timestamp) }\n                end,\n            },\n            {\n                function(blame)\n                    return { text = blame.author, hl = \"Bold\" }\n                end,\n            },\n            {}, -- empty line\n            {\n                function(blame)\n                    return { text = blame.message }\n                end,\n            },\n        },\n        window = {\n            border = \"rounded\",\n        }\n    }\n}\n```\n\nThis produces a floating window showing:\n```\nabc1234  2025-01-15\nJohn Doe\n\nfeat: add new feature\n```\n\n\u003e [!NOTE]  \n\u003e The plugin does not define custom highlight groups. Create them as needed:\n\u003e ```lua\n\u003e vim.api.nvim_set_hl(0, \"GitBlameAuthor\", { link = \"Bold\" })\n\u003e ```\n\n## Usage\n\n**Command:** `:GitBlameLine`\n\nShows blame info for the current line. If the window is already open, focuses it.\n\n## License\n\nMIT License. See [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteschwa%2Fgit-blame.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteschwa%2Fgit-blame.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteschwa%2Fgit-blame.nvim/lists"}