{"id":15482821,"url":"https://github.com/markwoodhall/vim-codelens","last_synced_at":"2025-08-23T04:12:42.253Z","repository":{"id":67552480,"uuid":"122761374","full_name":"markwoodhall/vim-codelens","owner":"markwoodhall","description":"Inline insight into the history of your code","archived":false,"fork":false,"pushed_at":"2019-07-02T19:26:03.000Z","size":72,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T10:05:06.353Z","etag":null,"topics":["blame","clojure","codelens","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markwoodhall.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-02-24T17:12:03.000Z","updated_at":"2025-07-24T02:00:55.000Z","dependencies_parsed_at":"2023-09-11T10:31:36.784Z","dependency_job_id":null,"html_url":"https://github.com/markwoodhall/vim-codelens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markwoodhall/vim-codelens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwoodhall%2Fvim-codelens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwoodhall%2Fvim-codelens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwoodhall%2Fvim-codelens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwoodhall%2Fvim-codelens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markwoodhall","download_url":"https://codeload.github.com/markwoodhall/vim-codelens/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwoodhall%2Fvim-codelens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271740731,"owners_count":24812642,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blame","clojure","codelens","vim"],"created_at":"2024-10-02T05:10:07.735Z","updated_at":"2025-08-23T04:12:42.214Z","avatar_url":"https://github.com/markwoodhall.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Warning\n\nThis is a very, very rough proof of concept, it might break, or produce errors that interrupt your workflow. It is currently working well for me.\n\n== Purpose\n\nvim-codelens is a neovim plugin somewhat inspired by Visual Studio codelens.\n\nAt the moment it has very few features. The main one being to provide virtualtext against a function definition indicating when\nit was last modified, by who, and how many people have edited it.\n\nimage::https://i.imgur.com/OyIStFs.png[screenshot]\n \n== Features\n\nThe features provided by codelens vary based on the `filetype` of the current buffer. The basic features are as follow:\n\n1. Provides the author name and date of most recent git modification at the top of the current file\n\nThere are additional features for Clojure, vim, javascript, terraform, python, and hug sql file types.\n\n1. Provides the author name and date of most recent git modification for the current function, class, namespace etc.\n2. Provides a count of the number of references to the current function, class, namespace etc.\n3. Provides a count of the number of tests of the current function, class, namespace etc.\n\n== Installation\n\nYou can install vim-codelens using your favourite package manager, I use vim-plug. \n\n[source,shell]\nPlug 'markwoodhall/vim-codelens'\n\n== Configuration\n[source,shell]\nlet g:codelens_auto = 1\n\nTurns on or off the ability to generate codelens data on buffer read or write. If you prefer to\ntoggle this off then you can manually run the `:Codelens` command.\n\n[source,shell]\nlet g:codelens_bg_colour='#1da374'\n\nAllows customisation of the background colour used when rendering codelens data.\n\n[source,shell]\nlet g:codelens_fg_colour='#292D33'\n\nAllows customisation of the foreground colour used when rendering codelens data.\n\n[source,shell]\nlet g:codelens_show_references = 1\n\nTurns on or off the ability to count the number of references to the current codelens target using `git grep`.\n\n[source,shell]\nlet g:codelens_show_tests = 1\n\nTurns on or off the ability to count the number of tests on the current codelens target using `git grep`.\n\n[source,shell]\nlet g:codelens_allow_same_line = 1\n\nTurns on or off the ability to render code lens data on the same line as the target if there is no whitespace above the target.\n\n== License\n\nCopyright © Mark Woodhall. Distributed under the same terms as Vim itself. See `:help license`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwoodhall%2Fvim-codelens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkwoodhall%2Fvim-codelens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwoodhall%2Fvim-codelens/lists"}