{"id":20057666,"url":"https://github.com/todesking/metascope.vim","last_synced_at":"2026-03-04T09:30:52.585Z","repository":{"id":26215226,"uuid":"29661656","full_name":"todesking/metascope.vim","owner":"todesking","description":null,"archived":false,"fork":false,"pushed_at":"2015-02-06T08:08:26.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T16:50:16.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","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/todesking.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}},"created_at":"2015-01-22T05:36:02.000Z","updated_at":"2015-02-06T08:08:26.000Z","dependencies_parsed_at":"2022-07-27T07:16:57.429Z","dependency_job_id":null,"html_url":"https://github.com/todesking/metascope.vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/todesking/metascope.vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Fmetascope.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Fmetascope.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Fmetascope.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Fmetascope.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todesking","download_url":"https://codeload.github.com/todesking/metascope.vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todesking%2Fmetascope.vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30077059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-13T12:59:51.741Z","updated_at":"2026-03-04T09:30:52.540Z","avatar_url":"https://github.com/todesking.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metascope.vim: User-defined scope for variables\n\n## Usage\n\nExample: Define the \"current-filetype\" scope\n\n```vim\n\" from plugin/metascope.vim\n\nlet s:def = {'name': 'filetype'}\n\nfunction! s:def.scope_identifier() abort \" {{{\n\treturn \u0026filetype\nendfunction \" }}}\n\ncall metascope#register(s:def)\n\nunlet s:def\n\n```\n\n```vim\ncall metascope#set('filetype:foo', 10)\n\necho metascope#get('filetype:foo')\n\nset ft = xxx\n\necho metascope#get('filetype:foo') \" error: filetype:foo is not found in this scope\n```\n\n## Default scopes\n\n* `b`, `w`, `t`, `g`\n  * Same as VimL's `b:`, `w:`, `t:`, `g:` scope\n* `filetype`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodesking%2Fmetascope.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodesking%2Fmetascope.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodesking%2Fmetascope.vim/lists"}