{"action":"created","comment":{"url":"https://api.github.com/repos/neovim/neovim/pulls/comments/33244824","id":33244824,"diff_hunk":"@@ -180,7 +178,7 @@ command! UpdateRemotePlugins call s:UpdateRemotePlugins()\n \n \n let s:plugins_for_host = {}\n-function! s:PluginsForHost(host)\n+function! remote#host#PluginsForHost(host)","path":"runtime/autoload/remote/host.vim","position":33,"original_position":33,"commit_id":"8641b0131bc52bba2a37c740570e6867ee9e6b0d","original_commit_id":"8641b0131bc52bba2a37c740570e6867ee9e6b0d","user":{"login":"nhynes","id":2353785,"avatar_url":"https://avatars.githubusercontent.com/u/2353785?v=3","gravatar_id":"","url":"https://api.github.com/users/nhynes","html_url":"https://github.com/nhynes","followers_url":"https://api.github.com/users/nhynes/followers","following_url":"https://api.github.com/users/nhynes/following{/other_user}","gists_url":"https://api.github.com/users/nhynes/gists{/gist_id}","starred_url":"https://api.github.com/users/nhynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhynes/subscriptions","organizations_url":"https://api.github.com/users/nhynes/orgs","repos_url":"https://api.github.com/users/nhynes/repos","events_url":"https://api.github.com/users/nhynes/events{/privacy}","received_events_url":"https://api.github.com/users/nhynes/received_events","type":"User","site_admin":false},"body":"It's to allow the host factory function to access the path and specs of its registered plugins. The Python host factory uses is, but I think that it's especially useful when interfacing with a compiled language without support for metaprogramming. ","created_at":"2015-06-25T11:26:06Z","updated_at":"2015-06-25T11:26:06Z","html_url":"https://github.com/neovim/neovim/pull/2896#discussion_r33244824","pull_request_url":"https://api.github.com/repos/neovim/neovim/pulls/2896","_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments/33244824"},"html":{"href":"https://github.com/neovim/neovim/pull/2896#discussion_r33244824"},"pull_request":{"href":"https://api.github.com/repos/neovim/neovim/pulls/2896"}}},"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/2896","id":38499214,"html_url":"https://github.com/neovim/neovim/pull/2896","diff_url":"https://github.com/neovim/neovim/pull/2896.diff","patch_url":"https://github.com/neovim/neovim/pull/2896.patch","issue_url":"https://api.github.com/repos/neovim/neovim/issues/2896","number":2896,"state":"open","locked":false,"title":"[RDY] remote plugin: allow users to register own hosts","user":{"login":"nhynes","id":2353785,"avatar_url":"https://avatars.githubusercontent.com/u/2353785?v=3","gravatar_id":"","url":"https://api.github.com/users/nhynes","html_url":"https://github.com/nhynes","followers_url":"https://api.github.com/users/nhynes/followers","following_url":"https://api.github.com/users/nhynes/following{/other_user}","gists_url":"https://api.github.com/users/nhynes/gists{/gist_id}","starred_url":"https://api.github.com/users/nhynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhynes/subscriptions","organizations_url":"https://api.github.com/users/nhynes/orgs","repos_url":"https://api.github.com/users/nhynes/repos","events_url":"https://api.github.com/users/nhynes/events{/privacy}","received_events_url":"https://api.github.com/users/nhynes/received_events","type":"User","site_admin":false},"body":"Currently, the only way to register a new plugin host is by adding its name, file patterns, and factory function to  `host.vim`, which makes it challenging to create and deploy non-standard plugin hosts.\r\n\r\nThe proposed changes allow users to register their own plugin hosts using `remote#host#Register` and then access the loaded plugins in the now-external factory by calling `remote#host#PluginsForHost`.","created_at":"2015-06-24T23:38:23Z","updated_at":"2015-06-25T11:26:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf922b2674992d7ee1c50a3261b81497464a3125","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neovim/neovim/pulls/2896/commits","review_comments_url":"https://api.github.com/repos/neovim/neovim/pulls/2896/comments","review_comment_url":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2896/comments","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/8641b0131bc52bba2a37c740570e6867ee9e6b0d","head":{"label":"nhynes:anyhost","ref":"anyhost","sha":"8641b0131bc52bba2a37c740570e6867ee9e6b0d","user":{"login":"nhynes","id":2353785,"avatar_url":"https://avatars.githubusercontent.com/u/2353785?v=3","gravatar_id":"","url":"https://api.github.com/users/nhynes","html_url":"https://github.com/nhynes","followers_url":"https://api.github.com/users/nhynes/followers","following_url":"https://api.github.com/users/nhynes/following{/other_user}","gists_url":"https://api.github.com/users/nhynes/gists{/gist_id}","starred_url":"https://api.github.com/users/nhynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhynes/subscriptions","organizations_url":"https://api.github.com/users/nhynes/orgs","repos_url":"https://api.github.com/users/nhynes/repos","events_url":"https://api.github.com/users/nhynes/events{/privacy}","received_events_url":"https://api.github.com/users/nhynes/received_events","type":"User","site_admin":false},"repo":{"id":36967785,"name":"neovim","full_name":"nhynes/neovim","owner":{"login":"nhynes","id":2353785,"avatar_url":"https://avatars.githubusercontent.com/u/2353785?v=3","gravatar_id":"","url":"https://api.github.com/users/nhynes","html_url":"https://github.com/nhynes","followers_url":"https://api.github.com/users/nhynes/followers","following_url":"https://api.github.com/users/nhynes/following{/other_user}","gists_url":"https://api.github.com/users/nhynes/gists{/gist_id}","starred_url":"https://api.github.com/users/nhynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhynes/subscriptions","organizations_url":"https://api.github.com/users/nhynes/orgs","repos_url":"https://api.github.com/users/nhynes/repos","events_url":"https://api.github.com/users/nhynes/events{/privacy}","received_events_url":"https://api.github.com/users/nhynes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nhynes/neovim","description":"ambitious Vim-fork focused on extensibility and agility. Please consider helping sustain Neovim development! https://salt.bountysource.com/teams/neovim","fork":true,"url":"https://api.github.com/repos/nhynes/neovim","forks_url":"https://api.github.com/repos/nhynes/neovim/forks","keys_url":"https://api.github.com/repos/nhynes/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhynes/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhynes/neovim/teams","hooks_url":"https://api.github.com/repos/nhynes/neovim/hooks","issue_events_url":"https://api.github.com/repos/nhynes/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/nhynes/neovim/events","assignees_url":"https://api.github.com/repos/nhynes/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/nhynes/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/nhynes/neovim/tags","blobs_url":"https://api.github.com/repos/nhynes/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhynes/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhynes/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhynes/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhynes/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/nhynes/neovim/languages","stargazers_url":"https://api.github.com/repos/nhynes/neovim/stargazers","contributors_url":"https://api.github.com/repos/nhynes/neovim/contributors","subscribers_url":"https://api.github.com/repos/nhynes/neovim/subscribers","subscription_url":"https://api.github.com/repos/nhynes/neovim/subscription","commits_url":"https://api.github.com/repos/nhynes/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhynes/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhynes/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhynes/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhynes/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/nhynes/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhynes/neovim/merges","archive_url":"https://api.github.com/repos/nhynes/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhynes/neovim/downloads","issues_url":"https://api.github.com/repos/nhynes/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/nhynes/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/nhynes/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/nhynes/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhynes/neovim/labels{/name}","releases_url":"https://api.github.com/repos/nhynes/neovim/releases{/id}","created_at":"2015-06-06T04:49:34Z","updated_at":"2015-06-06T04:49:41Z","pushed_at":"2015-06-24T23:33:04Z","git_url":"git://github.com/nhynes/neovim.git","ssh_url":"git@github.com:nhynes/neovim.git","clone_url":"https://github.com/nhynes/neovim.git","svn_url":"https://github.com/nhynes/neovim","homepage":"http://neovim.io","size":31421,"stargazers_count":0,"watchers_count":0,"language":"VimL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neovim:master","ref":"master","sha":"e8c82372ffb233938baa1b097e863fbc400bbd6d","user":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"repo":{"id":16408992,"name":"neovim","full_name":"neovim/neovim","owner":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neovim/neovim","description":"ambitious Vim-fork focused on extensibility and agility. Please consider helping sustain Neovim development! https://salt.bountysource.com/teams/neovim","fork":false,"url":"https://api.github.com/repos/neovim/neovim","forks_url":"https://api.github.com/repos/neovim/neovim/forks","keys_url":"https://api.github.com/repos/neovim/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neovim/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neovim/neovim/teams","hooks_url":"https://api.github.com/repos/neovim/neovim/hooks","issue_events_url":"https://api.github.com/repos/neovim/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/neovim/neovim/events","assignees_url":"https://api.github.com/repos/neovim/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/neovim/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/neovim/neovim/tags","blobs_url":"https://api.github.com/repos/neovim/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neovim/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neovim/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/neovim/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/neovim/neovim/languages","stargazers_url":"https://api.github.com/repos/neovim/neovim/stargazers","contributors_url":"https://api.github.com/repos/neovim/neovim/contributors","subscribers_url":"https://api.github.com/repos/neovim/neovim/subscribers","subscription_url":"https://api.github.com/repos/neovim/neovim/subscription","commits_url":"https://api.github.com/repos/neovim/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/neovim/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/neovim/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/neovim/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/neovim/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/neovim/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neovim/neovim/merges","archive_url":"https://api.github.com/repos/neovim/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neovim/neovim/downloads","issues_url":"https://api.github.com/repos/neovim/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/neovim/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/neovim/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/neovim/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neovim/neovim/labels{/name}","releases_url":"https://api.github.com/repos/neovim/neovim/releases{/id}","created_at":"2014-01-31T13:39:22Z","updated_at":"2015-06-25T09:57:27Z","pushed_at":"2015-06-25T08:21:14Z","git_url":"git://github.com/neovim/neovim.git","ssh_url":"git@github.com:neovim/neovim.git","clone_url":"https://github.com/neovim/neovim.git","svn_url":"https://github.com/neovim/neovim","homepage":"http://neovim.io","size":73344,"stargazers_count":13827,"watchers_count":13827,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":948,"mirror_url":null,"open_issues_count":517,"forks":948,"open_issues":517,"watchers":13827,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/2896"},"html":{"href":"https://github.com/neovim/neovim/pull/2896"},"issue":{"href":"https://api.github.com/repos/neovim/neovim/issues/2896"},"comments":{"href":"https://api.github.com/repos/neovim/neovim/issues/2896/comments"},"review_comments":{"href":"https://api.github.com/repos/neovim/neovim/pulls/2896/comments"},"review_comment":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neovim/neovim/pulls/2896/commits"},"statuses":{"href":"https://api.github.com/repos/neovim/neovim/statuses/8641b0131bc52bba2a37c740570e6867ee9e6b0d"}}}}