{"id":50647279,"url":"https://github.com/markosnarinian/ln.nvim","last_synced_at":"2026-06-08T10:00:36.308Z","repository":{"id":360451933,"uuid":"1250251495","full_name":"markosnarinian/ln.nvim","owner":"markosnarinian","description":"Smart line numbers for Neovim","archived":false,"fork":false,"pushed_at":"2026-05-26T14:16:49.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T14:18:46.399Z","etag":null,"topics":["autocmd","line-numbers","lua","neovim","neovim-plugin","nvim","nvim-plugin","relative-line-numbers","window-focus"],"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/markosnarinian.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-26T12:57:36.000Z","updated_at":"2026-05-26T13:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/markosnarinian/ln.nvim","commit_stats":null,"previous_names":["markosnarinian/ln.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/markosnarinian/ln.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markosnarinian%2Fln.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markosnarinian%2Fln.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markosnarinian%2Fln.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markosnarinian%2Fln.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markosnarinian","download_url":"https://codeload.github.com/markosnarinian/ln.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markosnarinian%2Fln.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34057158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["autocmd","line-numbers","lua","neovim","neovim-plugin","nvim","nvim-plugin","relative-line-numbers","window-focus"],"created_at":"2026-06-07T14:00:19.071Z","updated_at":"2026-06-08T10:00:36.302Z","avatar_url":"https://github.com/markosnarinian.png","language":"Lua","funding_links":[],"categories":["UI","Other Standard Feature Enhancement"],"sub_categories":["OS-specific","Number"],"readme":"# ln.nvim\n\nAutomatically switches between relative and absolute line numbers based on context. The active window shows relative line numbers for easy motion; inactive windows show absolute line numbers for reference.\n\n## Installation\n\n### With lazy.nvim\n\n```lua\n-- default configuration\n{\n    \"markosnarinian/ln.nvim\",\n    opts = {\n        absolute_events = { \"WinLeave\", \"InsertEnter\", \"TermEnter\", \"CmdlineEnter\" },\n        relative_events = { \"WinEnter\", \"InsertLeave\", \"TermLeave\", \"CmdlineLeave\" },\n        exclude = {\n            \"TelescopePrompt\",\n            \"lazy\",\n            \"mason\",\n            \"checkhealth\",\n            \"help\",\n            \"Trouble\",\n            \"fzf\",\n            \"toggleterm\",\n            \"startify\",\n            \"undotree\",\n            \"dashboard\",\n            \"snacks_dashboard\",\n            \"aerial\",\n        },\n    },\n}\n```\n\nYou can add or remove any standard Neovim autocmd events from either list to customise when each mode activates.\nYou can also add or remove buffer types and file types from the exclude list as you like.\n\n# Contributing\n\nAll contributions are welcome! I promise that I will take the time to review your PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkosnarinian%2Fln.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkosnarinian%2Fln.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkosnarinian%2Fln.nvim/lists"}