{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/bling/vim-bufferline/pulls/38","id":79055724,"html_url":"https://github.com/bling/vim-bufferline/pull/38","diff_url":"https://github.com/bling/vim-bufferline/pull/38.diff","patch_url":"https://github.com/bling/vim-bufferline/pull/38.patch","issue_url":"https://api.github.com/repos/bling/vim-bufferline/issues/38","number":38,"state":"open","locked":false,"title":"Move refresh_status() to autoload/bufferline.vim","user":{"login":"ericbn","id":4120606,"avatar_url":"https://avatars.githubusercontent.com/u/4120606?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbn","html_url":"https://github.com/ericbn","followers_url":"https://api.github.com/users/ericbn/followers","following_url":"https://api.github.com/users/ericbn/following{/other_user}","gists_url":"https://api.github.com/users/ericbn/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbn/subscriptions","organizations_url":"https://api.github.com/users/ericbn/orgs","repos_url":"https://api.github.com/users/ericbn/repos","events_url":"https://api.github.com/users/ericbn/events{/privacy}","received_events_url":"https://api.github.com/users/ericbn/received_events","type":"User","site_admin":false},"body":"When using lightline and trying to define bufferline as a component using:\r\n\r\n    \\ 'component': {\r\n    \\   'bufferline': '%{bufferline#refresh_status()}'.bufferline#get_status_string()\r\n    \\ },\r\n\r\nit fails with  \"unknown function bufferline#get_status_string()\" error.\r\nThis is because the function was not yet defined at this point. Moving\r\nthe function from plugin/ to autoload/ fixes this. Also moving the\r\nrefresh_status() function to autoload/ too, for consistency.","created_at":"2016-07-27T16:28:58Z","updated_at":"2016-07-27T16:28:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bling/vim-bufferline/pulls/38/commits","review_comments_url":"https://api.github.com/repos/bling/vim-bufferline/pulls/38/comments","review_comment_url":"https://api.github.com/repos/bling/vim-bufferline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bling/vim-bufferline/issues/38/comments","statuses_url":"https://api.github.com/repos/bling/vim-bufferline/statuses/408eff8b1b969872df0dc14523baa434a8d8e4ba","head":{"label":"ericbn:master","ref":"master","sha":"408eff8b1b969872df0dc14523baa434a8d8e4ba","user":{"login":"ericbn","id":4120606,"avatar_url":"https://avatars.githubusercontent.com/u/4120606?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbn","html_url":"https://github.com/ericbn","followers_url":"https://api.github.com/users/ericbn/followers","following_url":"https://api.github.com/users/ericbn/following{/other_user}","gists_url":"https://api.github.com/users/ericbn/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbn/subscriptions","organizations_url":"https://api.github.com/users/ericbn/orgs","repos_url":"https://api.github.com/users/ericbn/repos","events_url":"https://api.github.com/users/ericbn/events{/privacy}","received_events_url":"https://api.github.com/users/ericbn/received_events","type":"User","site_admin":false},"repo":{"id":64322912,"name":"vim-bufferline","full_name":"ericbn/vim-bufferline","owner":{"login":"ericbn","id":4120606,"avatar_url":"https://avatars.githubusercontent.com/u/4120606?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbn","html_url":"https://github.com/ericbn","followers_url":"https://api.github.com/users/ericbn/followers","following_url":"https://api.github.com/users/ericbn/following{/other_user}","gists_url":"https://api.github.com/users/ericbn/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbn/subscriptions","organizations_url":"https://api.github.com/users/ericbn/orgs","repos_url":"https://api.github.com/users/ericbn/repos","events_url":"https://api.github.com/users/ericbn/events{/privacy}","received_events_url":"https://api.github.com/users/ericbn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericbn/vim-bufferline","description":"super simple vim plugin to show the list of buffers in the command bar","fork":true,"url":"https://api.github.com/repos/ericbn/vim-bufferline","forks_url":"https://api.github.com/repos/ericbn/vim-bufferline/forks","keys_url":"https://api.github.com/repos/ericbn/vim-bufferline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericbn/vim-bufferline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericbn/vim-bufferline/teams","hooks_url":"https://api.github.com/repos/ericbn/vim-bufferline/hooks","issue_events_url":"https://api.github.com/repos/ericbn/vim-bufferline/issues/events{/number}","events_url":"https://api.github.com/repos/ericbn/vim-bufferline/events","assignees_url":"https://api.github.com/repos/ericbn/vim-bufferline/assignees{/user}","branches_url":"https://api.github.com/repos/ericbn/vim-bufferline/branches{/branch}","tags_url":"https://api.github.com/repos/ericbn/vim-bufferline/tags","blobs_url":"https://api.github.com/repos/ericbn/vim-bufferline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericbn/vim-bufferline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericbn/vim-bufferline/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericbn/vim-bufferline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericbn/vim-bufferline/statuses/{sha}","languages_url":"https://api.github.com/repos/ericbn/vim-bufferline/languages","stargazers_url":"https://api.github.com/repos/ericbn/vim-bufferline/stargazers","contributors_url":"https://api.github.com/repos/ericbn/vim-bufferline/contributors","subscribers_url":"https://api.github.com/repos/ericbn/vim-bufferline/subscribers","subscription_url":"https://api.github.com/repos/ericbn/vim-bufferline/subscription","commits_url":"https://api.github.com/repos/ericbn/vim-bufferline/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericbn/vim-bufferline/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericbn/vim-bufferline/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericbn/vim-bufferline/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericbn/vim-bufferline/contents/{+path}","compare_url":"https://api.github.com/repos/ericbn/vim-bufferline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericbn/vim-bufferline/merges","archive_url":"https://api.github.com/repos/ericbn/vim-bufferline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericbn/vim-bufferline/downloads","issues_url":"https://api.github.com/repos/ericbn/vim-bufferline/issues{/number}","pulls_url":"https://api.github.com/repos/ericbn/vim-bufferline/pulls{/number}","milestones_url":"https://api.github.com/repos/ericbn/vim-bufferline/milestones{/number}","notifications_url":"https://api.github.com/repos/ericbn/vim-bufferline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericbn/vim-bufferline/labels{/name}","releases_url":"https://api.github.com/repos/ericbn/vim-bufferline/releases{/id}","deployments_url":"https://api.github.com/repos/ericbn/vim-bufferline/deployments","created_at":"2016-07-27T16:06:53Z","updated_at":"2016-07-27T16:06:54Z","pushed_at":"2016-07-27T16:27:03Z","git_url":"git://github.com/ericbn/vim-bufferline.git","ssh_url":"git@github.com:ericbn/vim-bufferline.git","clone_url":"https://github.com/ericbn/vim-bufferline.git","svn_url":"https://github.com/ericbn/vim-bufferline","homepage":"","size":68,"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":"bling:master","ref":"master","sha":"651fd010aa9613a4b8636a4af8a2db0d22800262","user":{"login":"bling","id":306502,"avatar_url":"https://avatars.githubusercontent.com/u/306502?v=3","gravatar_id":"","url":"https://api.github.com/users/bling","html_url":"https://github.com/bling","followers_url":"https://api.github.com/users/bling/followers","following_url":"https://api.github.com/users/bling/following{/other_user}","gists_url":"https://api.github.com/users/bling/gists{/gist_id}","starred_url":"https://api.github.com/users/bling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bling/subscriptions","organizations_url":"https://api.github.com/users/bling/orgs","repos_url":"https://api.github.com/users/bling/repos","events_url":"https://api.github.com/users/bling/events{/privacy}","received_events_url":"https://api.github.com/users/bling/received_events","type":"User","site_admin":false},"repo":{"id":9101161,"name":"vim-bufferline","full_name":"bling/vim-bufferline","owner":{"login":"bling","id":306502,"avatar_url":"https://avatars.githubusercontent.com/u/306502?v=3","gravatar_id":"","url":"https://api.github.com/users/bling","html_url":"https://github.com/bling","followers_url":"https://api.github.com/users/bling/followers","following_url":"https://api.github.com/users/bling/following{/other_user}","gists_url":"https://api.github.com/users/bling/gists{/gist_id}","starred_url":"https://api.github.com/users/bling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bling/subscriptions","organizations_url":"https://api.github.com/users/bling/orgs","repos_url":"https://api.github.com/users/bling/repos","events_url":"https://api.github.com/users/bling/events{/privacy}","received_events_url":"https://api.github.com/users/bling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bling/vim-bufferline","description":"super simple vim plugin to show the list of buffers in the command bar","fork":false,"url":"https://api.github.com/repos/bling/vim-bufferline","forks_url":"https://api.github.com/repos/bling/vim-bufferline/forks","keys_url":"https://api.github.com/repos/bling/vim-bufferline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bling/vim-bufferline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bling/vim-bufferline/teams","hooks_url":"https://api.github.com/repos/bling/vim-bufferline/hooks","issue_events_url":"https://api.github.com/repos/bling/vim-bufferline/issues/events{/number}","events_url":"https://api.github.com/repos/bling/vim-bufferline/events","assignees_url":"https://api.github.com/repos/bling/vim-bufferline/assignees{/user}","branches_url":"https://api.github.com/repos/bling/vim-bufferline/branches{/branch}","tags_url":"https://api.github.com/repos/bling/vim-bufferline/tags","blobs_url":"https://api.github.com/repos/bling/vim-bufferline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bling/vim-bufferline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bling/vim-bufferline/git/refs{/sha}","trees_url":"https://api.github.com/repos/bling/vim-bufferline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bling/vim-bufferline/statuses/{sha}","languages_url":"https://api.github.com/repos/bling/vim-bufferline/languages","stargazers_url":"https://api.github.com/repos/bling/vim-bufferline/stargazers","contributors_url":"https://api.github.com/repos/bling/vim-bufferline/contributors","subscribers_url":"https://api.github.com/repos/bling/vim-bufferline/subscribers","subscription_url":"https://api.github.com/repos/bling/vim-bufferline/subscription","commits_url":"https://api.github.com/repos/bling/vim-bufferline/commits{/sha}","git_commits_url":"https://api.github.com/repos/bling/vim-bufferline/git/commits{/sha}","comments_url":"https://api.github.com/repos/bling/vim-bufferline/comments{/number}","issue_comment_url":"https://api.github.com/repos/bling/vim-bufferline/issues/comments{/number}","contents_url":"https://api.github.com/repos/bling/vim-bufferline/contents/{+path}","compare_url":"https://api.github.com/repos/bling/vim-bufferline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bling/vim-bufferline/merges","archive_url":"https://api.github.com/repos/bling/vim-bufferline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bling/vim-bufferline/downloads","issues_url":"https://api.github.com/repos/bling/vim-bufferline/issues{/number}","pulls_url":"https://api.github.com/repos/bling/vim-bufferline/pulls{/number}","milestones_url":"https://api.github.com/repos/bling/vim-bufferline/milestones{/number}","notifications_url":"https://api.github.com/repos/bling/vim-bufferline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bling/vim-bufferline/labels{/name}","releases_url":"https://api.github.com/repos/bling/vim-bufferline/releases{/id}","deployments_url":"https://api.github.com/repos/bling/vim-bufferline/deployments","created_at":"2013-03-29T15:42:24Z","updated_at":"2016-07-26T12:16:10Z","pushed_at":"2016-07-27T16:28:59Z","git_url":"git://github.com/bling/vim-bufferline.git","ssh_url":"git@github.com:bling/vim-bufferline.git","clone_url":"https://github.com/bling/vim-bufferline.git","svn_url":"https://github.com/bling/vim-bufferline","homepage":"","size":68,"stargazers_count":276,"watchers_count":276,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":10,"forks":27,"open_issues":10,"watchers":276,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bling/vim-bufferline/pulls/38"},"html":{"href":"https://github.com/bling/vim-bufferline/pull/38"},"issue":{"href":"https://api.github.com/repos/bling/vim-bufferline/issues/38"},"comments":{"href":"https://api.github.com/repos/bling/vim-bufferline/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/bling/vim-bufferline/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/bling/vim-bufferline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bling/vim-bufferline/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/bling/vim-bufferline/statuses/408eff8b1b969872df0dc14523baa434a8d8e4ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":21,"changed_files":2}}
{"actor":{"display_login":"ericbn"}}