{"id":19383562,"url":"https://github.com/david-kunz/spotlight","last_synced_at":"2026-05-14T22:01:45.291Z","repository":{"id":105867137,"uuid":"569827403","full_name":"David-Kunz/spotlight","owner":"David-Kunz","description":"A Neovim plugin to highlight the current identifier under the cursor.","archived":false,"fork":false,"pushed_at":"2022-12-01T21:24:16.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T17:17:40.391Z","etag":null,"topics":["extension","lua","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David-Kunz.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":"2022-11-23T17:49:20.000Z","updated_at":"2022-11-24T10:53:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c6f0fc5-a44c-4c60-ade0-e90bbccff289","html_url":"https://github.com/David-Kunz/spotlight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/David-Kunz/spotlight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Kunz%2Fspotlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Kunz%2Fspotlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Kunz%2Fspotlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Kunz%2Fspotlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Kunz","download_url":"https://codeload.github.com/David-Kunz/spotlight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Kunz%2Fspotlight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["extension","lua","neovim","plugin"],"created_at":"2024-11-10T09:26:38.980Z","updated_at":"2026-05-14T22:01:45.239Z","avatar_url":"https://github.com/David-Kunz.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotlight\n\nA Neovim plugin to highlight the current identifier under the cursor.\n\n## Installation\n\nPacker:\n\n```lua\nuse 'David-Kunz/spotlight'\n```\n\n## Usage\n\n```lua\nrequire('spotlight').run()\n```\n\n## Options\n\n```lua\nrequire('spotlight').setup(options)\n```\n\nwith the following options (with defaults):\n\n```lua\noptions = {\n  hl_group = 'LspReferenceText', -- highlight group\n  highlight_at_cursor = true -- also highlight the word under the cursor\n}\n```\n\n## Tip\n\nTo automatically run it after the cursor was moved:\n\n- instantaneously:\n\n```lua\nvim.api.nvim_create_autocmd(\"CursorMoved\", {callback = require('spotlight').run})\n```\n\n- with a small delay:\n\n```lua\nvim.api.nvim_create_autocmd(\"CursorHold\", {callback = require('spotlight').run})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-kunz%2Fspotlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-kunz%2Fspotlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-kunz%2Fspotlight/lists"}