{"id":15657896,"url":"https://github.com/willothy/blam.nvim","last_synced_at":"2025-05-05T16:30:24.605Z","repository":{"id":108850657,"uuid":"606310499","full_name":"willothy/blam.nvim","owner":"willothy","description":"A simple plugin for viewing git blame info, inspired by GitLens","archived":false,"fork":false,"pushed_at":"2023-03-01T21:03:18.000Z","size":20,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T22:25:06.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/willothy.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-02-25T05:16:09.000Z","updated_at":"2024-11-22T08:35:10.000Z","dependencies_parsed_at":"2023-03-24T08:17:56.859Z","dependency_job_id":null,"html_url":"https://github.com/willothy/blam.nvim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fblam.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fblam.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fblam.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fblam.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willothy","download_url":"https://codeload.github.com/willothy/blam.nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252533650,"owners_count":21763629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-03T13:10:17.706Z","updated_at":"2025-05-05T16:30:24.556Z","avatar_url":"https://github.com/willothy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blam\n\nInspired by VSCode and GitLens, this plugin simply adds blame info as virtual text to the end of your current line. Written in Rust using `git2` and `nvim-utils`.\n\n\n\nhttps://user-images.githubusercontent.com/38540736/221464520-057099bb-e6d5-47d9-98bc-b177021b5e42.mp4\n\n\n\n## Installation\n\nInstall using your favorite package manager\n\n### Lazy.nvim\n```lua\n{\n    'willothy/blam.nvim',\n    build = 'make',\n    opts = {\n        -- options\n    },\n    config = true\n}\n```\n\n### Packer.nvim\n```lua\nuse('willothy/blam.nvim', {\n    run = 'make',\n    config = function()\n        require(\"blam\").setup({\n            -- options\n        })\n    end\n})\n```\n\n## Usage\n\nBlam includes no mappings, just a few functions:\n```lua\n-- Toggles line blame (will update as you move the cursor)\nrequire(\"blam\").toggle()\n\n-- Peeks the blame for the current line (will disappear when cursor is moved or after a timeout)\nrequire(\"blam\").peek()\n```\n\nHere's my setup:\n```lua\n{\n    'willothy/blam.nvim',\n    build = 'make',\n    config = true,\n    init = function()\n        vim.keymap.set(\"n\", \"\u003cleader\u003eb\", require(\"blam\").peek) \n    end\n}\n```\n\n## Configuration\n\nBlam comes with the following defaults:\n```lua\n{\n    -- Can be a hex color\n    -- or a table with fg and bg colors\n    -- or a highlight group\n    hl = \"Comment\",\n    -- Timeout before peek blame disappears \n    -- Set to 0 to disable and only hide peek blame on cursor move\n    peek_timeout = 0,\n    -- Whether line blame will be enabled on startup\n    -- Disabled by defauly as it can be a bit intrusive (I prefer using peek)\n    enabled = false,\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fblam.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillothy%2Fblam.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fblam.nvim/lists"}