{"id":31912256,"url":"https://github.com/tsuyoshicho/asyncomplete-anylist","last_synced_at":"2025-10-13T17:59:55.574Z","repository":{"id":64204925,"uuid":"574017673","full_name":"tsuyoshicho/asyncomplete-anylist","owner":"tsuyoshicho","description":"Configurable list source for asyncomplete.vim plugin.","archived":false,"fork":false,"pushed_at":"2025-09-13T02:01:24.000Z","size":98,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-13T04:08:25.705Z","etag":null,"topics":["asyncomplete","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","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/tsuyoshicho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-12-04T06:36:52.000Z","updated_at":"2025-09-13T02:01:25.000Z","dependencies_parsed_at":"2023-01-15T04:15:41.709Z","dependency_job_id":"fe714d76-50e0-4c8b-aba9-10a46eb201a5","html_url":"https://github.com/tsuyoshicho/asyncomplete-anylist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"tsuyoshicho/all-repository-base-template","purl":"pkg:github/tsuyoshicho/asyncomplete-anylist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2Fasyncomplete-anylist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2Fasyncomplete-anylist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2Fasyncomplete-anylist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2Fasyncomplete-anylist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsuyoshicho","download_url":"https://codeload.github.com/tsuyoshicho/asyncomplete-anylist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyoshicho%2Fasyncomplete-anylist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016384,"owners_count":26085830,"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-13T02:00:06.723Z","response_time":61,"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":["asyncomplete","vim"],"created_at":"2025-10-13T17:59:50.139Z","updated_at":"2025-10-13T17:59:55.566Z","avatar_url":"https://github.com/tsuyoshicho.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asyncomplete-anylist\n\n[![DeepWiki](https://img.shields.io/badge/DeepWiki-tsuyoshicho%2Fasyncomplete--anylist-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/tsuyoshicho/asyncomplete-anylist)\n\u003c!-- DeepWiki badge generated by https://deepwiki.ryoppippi.com/ --\u003e\n\nConfigurable list source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim) plugin.\n\n## Settings\n\n```vim\nfunction! s:gen() abort\n  return ['tips', 'tomorrow']\nendfunction\n\nautocmd User asyncomplete_setup call\n\\ asyncomplete#register_source(\n\\   asyncomplete#sources#anylist#get_source_options({\n\\     'name': 'anylist',\n\\     'allowlist': ['*'],\n\\     'completor': function('asyncomplete#sources#anylist#completor'),\n\\     'config': {\n\\       'matcher': '\\(\\w\\|\\f\\)+$',\n\\       'items': [\n\\         {'name': 'sign', 'list': ['tsuyoshicho']},\n\\         {'name': 'func', 'function': function('s:gen'), 'args': []},\n\\       ],\n\\     },\n\\     'priority': 20,\n\\   }))\n```\n\n![sample result](https://github.com/tsuyoshicho/asyncomplete-anylist/blob/assets/images/asyncomplete-anylist-sample-1.png)\n\n## Configuration description\n\nanylist is need `config` entry in `get_source_options`'s arguments.\n\n* config is a dictionary.\n* config.matcher is string, that is \"pattern\" to use for completion matching.\n* config.items is a list of dictionaries.\n\nThe item of config.items can define the following contents.\n\n* item.name : A string, the name that will appear in the completion menu.\n* item.list : A list of strings, used for completion. (High priority than item.function)\n* item.function : A Funcref that returns a list of strings.\n* item.args : A list, that is arguments passed when calling item.function.\n\n## Useful examples\n\n```vim\n\" https://www.conventionalcommits.org/en/v1.0.0/\nfunction! s:git_conventional_commit() abort\n  if \u0026filetype =~? 'git'\n    return [\n    \\  'build', 'ci', 'chore', 'docs', 'feat', 'fix',\n    \\  'perf', 'refactor', 'revert', 'style', 'test'\n    \\]\n  endif\n  return []\nendfunction\n\nautocmd User asyncomplete_setup call\n\\ asyncomplete#register_source(\n\\   asyncomplete#sources#anylist#get_source_options({\n\\     'name': 'anylist',\n\\     'allowlist': ['*'],\n\\     'completor': function('asyncomplete#sources#anylist#completor'),\n\\     'config': {\n\\       'matcher': '\\(\\w\\|\\f\\)+$',\n\\       'items': [\n\\         {'name': 'sign', 'list': ['tsuyoshicho', 'tsuyoshi_cho']},\n\\         {'name': 'git', 'function': function('s:git_conventional_commit'), 'args': []},\n\\         {'name': 'mrw', 'function': function('mr#mrw#list'), 'args': []},\n\\       ],\n\\     },\n\\     'priority': 20,\n\\   }))\n```\n\n* sign: User account completion. Completion work always.\n* git:  Conventional Commits completion. Completion work under git related filetypes.\n* mrw:  [mr.vim](https://github.com/lambdalisue/mr.vim)'s most recently write file list completion. Completion work always.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyoshicho%2Fasyncomplete-anylist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsuyoshicho%2Fasyncomplete-anylist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyoshicho%2Fasyncomplete-anylist/lists"}