{"id":13896108,"url":"https://github.com/jc-doyle/cmp-pandoc-references","last_synced_at":"2025-07-17T12:30:52.313Z","repository":{"id":41982173,"uuid":"410260949","full_name":"jc-doyle/cmp-pandoc-references","owner":"jc-doyle","description":"A source for nvim-cmp, providing completion for bibliography, reference and cross-ref items in Pandoc/Markdown.","archived":false,"fork":false,"pushed_at":"2024-06-06T09:03:57.000Z","size":13,"stargazers_count":59,"open_issues_count":6,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T01:33:31.303Z","etag":null,"topics":["nvim-cmp"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/jc-doyle.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2021-09-25T12:01:00.000Z","updated_at":"2024-11-17T05:05:38.000Z","dependencies_parsed_at":"2024-11-25T01:31:11.490Z","dependency_job_id":"f19cb641-744c-4ae3-8243-d780fc6c56a5","html_url":"https://github.com/jc-doyle/cmp-pandoc-references","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jc-doyle/cmp-pandoc-references","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jc-doyle%2Fcmp-pandoc-references","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jc-doyle%2Fcmp-pandoc-references/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jc-doyle%2Fcmp-pandoc-references/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jc-doyle%2Fcmp-pandoc-references/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jc-doyle","download_url":"https://codeload.github.com/jc-doyle/cmp-pandoc-references/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jc-doyle%2Fcmp-pandoc-references/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606589,"owners_count":23796967,"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":["nvim-cmp"],"created_at":"2024-08-06T18:02:39.909Z","updated_at":"2025-07-17T12:30:52.074Z","avatar_url":"https://github.com/jc-doyle.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# cmp-pandoc-references\n\nA source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp), providing completion for bibliography, reference and cross-ref items.\n\n## Demo\n![cmp-pandoc-references](https://user-images.githubusercontent.com/59124867/134782887-33872ae0-a23e-4f5b-99cd-74c3b0e6f497.gif)\n\nNote I have overridden the `ItemKinds`, they are set to `cmp.lsp.CompletionItemKind.Reference` by default.\n\n## Installation \u0026 Usage\n\nAssuming Packer:\n\n``` lua\nuse({\n  \"hrsh7th/nvim-cmp\",\n  requires = {\n    { \"jc-doyle/cmp-pandoc-references\" }\n  }\n})\n```\n\nAdd the source:\n\n``` lua\nrequire('cmp').setup {\n  sources = {\n    { name = 'pandoc_references' }\n  }\n}\n```\n\n## Explanation \u0026 Limitations\n\nThis source parses and validates the `bibliography: [your/bib/location.bib]` YAML metadata field, to determine the destination of the file (see [Pandoc](https://pandoc.org/MANUAL.html#specifying-bibliographic-data)). If it is not included (or you specify it through a command-line argument), no bibliography completion items will be found.\n\n(I use the metadata block to reference bibliographies, if you'd like automatic scanning of directories/sub-directories, feel free to submit a PR)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjc-doyle%2Fcmp-pandoc-references","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjc-doyle%2Fcmp-pandoc-references","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjc-doyle%2Fcmp-pandoc-references/lists"}