{"id":13895945,"url":"https://github.com/cbarrete/completion-vcard","last_synced_at":"2025-10-08T10:33:29.895Z","repository":{"id":47248410,"uuid":"333189850","full_name":"cbarrete/completion-vcard","owner":"cbarrete","description":"vCard source for completion-nvim, nvim-compe and nvim-cmp","archived":false,"fork":false,"pushed_at":"2025-04-08T02:05:56.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T03:22:24.894Z","etag":null,"topics":["email","lua","neovim","nvim-cmp","nvim-compe","vcard"],"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/cbarrete.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}},"created_at":"2021-01-26T19:13:38.000Z","updated_at":"2025-04-08T02:06:00.000Z","dependencies_parsed_at":"2025-07-17T16:14:26.519Z","dependency_job_id":"37731d10-e799-409e-9521-ef9a14237304","html_url":"https://github.com/cbarrete/completion-vcard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbarrete/completion-vcard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbarrete%2Fcompletion-vcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbarrete%2Fcompletion-vcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbarrete%2Fcompletion-vcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbarrete%2Fcompletion-vcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbarrete","download_url":"https://codeload.github.com/cbarrete/completion-vcard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbarrete%2Fcompletion-vcard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278931072,"owners_count":26070784,"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-10-08T02:00:06.501Z","response_time":56,"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":["email","lua","neovim","nvim-cmp","nvim-compe","vcard"],"created_at":"2024-08-06T18:02:34.794Z","updated_at":"2025-10-08T10:33:29.872Z","avatar_url":"https://github.com/cbarrete.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# completion-vcard\n\nvCard completion source for native Neovim LSP autocompletion (see `:h lsp-autocompletion`), [nvim-cmp](https://github.com/hrsh7th/nvim-cmp), [nvim-compe](https://github.com/hrsh7th/nvim-compe), and [completion-nvim](https://github.com/nvim-lua/completion-nvim).\n\n## Usage\n\n### Native autocompletion\n\nAdd the following to `after/ftplugin/mail.lua`:\n\n\n```lua\nrequire('completion_vcard').setup_native('~/path/to/vcard/dir')\n```\n\nThis will start an LSP client attached to a fake in-process LSP server that only support completion requests.\n\n### nvim-cmp\n\n```lua\nrequire('cmp').setup({\n    -- ...\n    sources = {\n        { name = 'vCard' },\n        -- ...\n    },\n})\n\nrequire('cmp').register_source('vCard', require('completion_vcard').setup_cmp('~/path/to/vcard/dir'))\n```\n\n### nvim-compe\n\n```lua\nrequire('completion_vcard').setup_compe('~/path/to/vcard/dir')\n\nrequire('compe').setup({\n    source = {\n        vCard = true,\n        -- probably some other sources as well\n    }\n})\n```\n\n### completion-nvim\n\n```lua\nrequire('completion_vcard').setup_completion('~/path/to/vcard/dir')\n\nvim.g.completion_chain_complete_list = {\n    { complete_items = { 'lsp', 'vCard' }},\n    { mode = '\u003cc-n\u003e' }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbarrete%2Fcompletion-vcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbarrete%2Fcompletion-vcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbarrete%2Fcompletion-vcard/lists"}