{"id":15044763,"url":"https://github.com/ryoppippi/nvim-pnpm-catalog-lens","last_synced_at":"2025-10-24T11:30:38.684Z","repository":{"id":257081842,"uuid":"857292277","full_name":"ryoppippi/nvim-pnpm-catalog-lens","owner":"ryoppippi","description":"Neovim plugin to show versions as diagnostics for pnpm catalog: field.","archived":false,"fork":false,"pushed_at":"2024-10-25T14:02:30.000Z","size":1011,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T01:51:41.866Z","etag":null,"topics":["lua","neovim","neovim-plugin","nvim","pnpm","pnpm-workspace"],"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/ryoppippi.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":"2024-09-14T09:06:37.000Z","updated_at":"2025-01-01T03:38:14.000Z","dependencies_parsed_at":"2024-10-29T22:01:59.301Z","dependency_job_id":null,"html_url":"https://github.com/ryoppippi/nvim-pnpm-catalog-lens","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"b0bc0e2bb4c8cfa06a66ecb0ff191d37b0e6cdb4"},"previous_names":["ryoppippi/nvim-pnpm-catalog-lens"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Fnvim-pnpm-catalog-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Fnvim-pnpm-catalog-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Fnvim-pnpm-catalog-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Fnvim-pnpm-catalog-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryoppippi","download_url":"https://codeload.github.com/ryoppippi/nvim-pnpm-catalog-lens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237954753,"owners_count":19393272,"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":["lua","neovim","neovim-plugin","nvim","pnpm","pnpm-workspace"],"created_at":"2024-09-24T20:51:00.352Z","updated_at":"2025-10-24T11:30:38.680Z","avatar_url":"https://github.com/ryoppippi.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./res/Catalog Lens Icon.png\" height=\"150\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ePNPM Catalog Lens \u003csup\u003eNeovim\u003c/sup\u003e\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Show versions as diagnostics for \u003ca href=\"https://pnpm.io/catalogs\" target=\"_blank\"\u003ePNPM \u003ccode\u003ecatalog:\u003c/code\u003e field.\u003c/a\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" display=\"flex\"\u003e\n    \u003cimg width=\"300\" alt=\"Screenshot before\" src=\"./res/before.png\"\u003e\n    \u003cimg width=\"300\" alt=\"Screenshot after\" src=\"./res/after.png\"\u003e\n\u003c/p\u003e\n\n## Install\n\nUsing lazy.nvim:\n\n```lua\n---@type LazySpec\nreturn {\n  'https://github.com/ryoppippi/nvim-pnpm-catalog-lens',\n  ft = { 'json' },\n}\n```\n\n## Commands\n\n| Command                  | Description      |\n| ------------------------ | ---------------- |\n| `PnpmCatalogLensEnable`  | Enable the lens  |\n| `PnpmCatalogLensDisable` | Disable the lens |\n\n## Configuration\n\nYou can configure the display option for the detected version using the global variable `g:pnpm_catalog_display`. The available options are:\n\n- `diagnostics`: Display the detected version as diagnostics (default).\n- `overlay`: Display the detected version as virtual text overlay on the `catalog:`.\n\nExample:\n\n```lua\nvim.g.pnpm_catalog_display = \"overlay\"\n```\n\n## Heighlight\n\n- `PnpmCatalogLensOverlay`: Display the detected version as virtual text overlay on the `catalog:`. It is useful when you want to see the version without moving the cursor.\n\n## Credits\n\nLogo is from\n[`vscode-pnpm-catalog-lens`](https://github.com/antfu/vscode-pnpm-catalog-lens)\n\n## Inspired by\n\n- [vscode-pnpm-catalog-lens](https://github.com/antfu/vscode-pnpm-catalog-lens)\n  by [Anthony Fu](https://github.com/antfu)\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoppippi%2Fnvim-pnpm-catalog-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryoppippi%2Fnvim-pnpm-catalog-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoppippi%2Fnvim-pnpm-catalog-lens/lists"}