{"action":"closed","number":1073,"pull_request":{"url":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073","id":51453179,"html_url":"https://github.com/Shougo/unite.vim/pull/1073","diff_url":"https://github.com/Shougo/unite.vim/pull/1073.diff","patch_url":"https://github.com/Shougo/unite.vim/pull/1073.patch","issue_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1073","number":1073,"state":"closed","locked":false,"title":"Fix off-by-one error in line number function","user":{"login":"wilywampa","id":4472522,"avatar_url":"https://avatars.githubusercontent.com/u/4472522?v=3","gravatar_id":"","url":"https://api.github.com/users/wilywampa","html_url":"https://github.com/wilywampa","followers_url":"https://api.github.com/users/wilywampa/followers","following_url":"https://api.github.com/users/wilywampa/following{/other_user}","gists_url":"https://api.github.com/users/wilywampa/gists{/gist_id}","starred_url":"https://api.github.com/users/wilywampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilywampa/subscriptions","organizations_url":"https://api.github.com/users/wilywampa/orgs","repos_url":"https://api.github.com/users/wilywampa/repos","events_url":"https://api.github.com/users/wilywampa/events{/privacy}","received_events_url":"https://api.github.com/users/wilywampa/received_events","type":"User","site_admin":false},"body":"In https://github.com/Shougo/unite.vim/commit/a2a77fe47804df3d568e1d755f272ca9ca662955, `if candidate_num >= a:num+1` changed to `if candidate_num >= a:num`, and then the new logic only handles the `below` prompt direction case. The 1 needs to be added back in for the `top` prompt direction to make `-select=#` and `:UniteNext` work.","created_at":"2015-11-21T23:36:23Z","updated_at":"2015-11-21T23:45:45Z","closed_at":"2015-11-21T23:45:45Z","merged_at":"2015-11-21T23:45:45Z","merge_commit_sha":"bf0d24a9baceed939f52752b512eabe37672fa26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073/commits","review_comments_url":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073/comments","review_comment_url":"https://api.github.com/repos/Shougo/unite.vim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1073/comments","statuses_url":"https://api.github.com/repos/Shougo/unite.vim/statuses/5590aa6d9ddfe45881c3033d3cb6252dccc83e50","head":{"label":"wilywampa:candidate_linenr","ref":"candidate_linenr","sha":"5590aa6d9ddfe45881c3033d3cb6252dccc83e50","user":{"login":"wilywampa","id":4472522,"avatar_url":"https://avatars.githubusercontent.com/u/4472522?v=3","gravatar_id":"","url":"https://api.github.com/users/wilywampa","html_url":"https://github.com/wilywampa","followers_url":"https://api.github.com/users/wilywampa/followers","following_url":"https://api.github.com/users/wilywampa/following{/other_user}","gists_url":"https://api.github.com/users/wilywampa/gists{/gist_id}","starred_url":"https://api.github.com/users/wilywampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilywampa/subscriptions","organizations_url":"https://api.github.com/users/wilywampa/orgs","repos_url":"https://api.github.com/users/wilywampa/repos","events_url":"https://api.github.com/users/wilywampa/events{/privacy}","received_events_url":"https://api.github.com/users/wilywampa/received_events","type":"User","site_admin":false},"repo":{"id":19802759,"name":"unite.vim","full_name":"wilywampa/unite.vim","owner":{"login":"wilywampa","id":4472522,"avatar_url":"https://avatars.githubusercontent.com/u/4472522?v=3","gravatar_id":"","url":"https://api.github.com/users/wilywampa","html_url":"https://github.com/wilywampa","followers_url":"https://api.github.com/users/wilywampa/followers","following_url":"https://api.github.com/users/wilywampa/following{/other_user}","gists_url":"https://api.github.com/users/wilywampa/gists{/gist_id}","starred_url":"https://api.github.com/users/wilywampa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilywampa/subscriptions","organizations_url":"https://api.github.com/users/wilywampa/orgs","repos_url":"https://api.github.com/users/wilywampa/repos","events_url":"https://api.github.com/users/wilywampa/events{/privacy}","received_events_url":"https://api.github.com/users/wilywampa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilywampa/unite.vim","description":"Unite and create user interfaces","fork":true,"url":"https://api.github.com/repos/wilywampa/unite.vim","forks_url":"https://api.github.com/repos/wilywampa/unite.vim/forks","keys_url":"https://api.github.com/repos/wilywampa/unite.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilywampa/unite.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilywampa/unite.vim/teams","hooks_url":"https://api.github.com/repos/wilywampa/unite.vim/hooks","issue_events_url":"https://api.github.com/repos/wilywampa/unite.vim/issues/events{/number}","events_url":"https://api.github.com/repos/wilywampa/unite.vim/events","assignees_url":"https://api.github.com/repos/wilywampa/unite.vim/assignees{/user}","branches_url":"https://api.github.com/repos/wilywampa/unite.vim/branches{/branch}","tags_url":"https://api.github.com/repos/wilywampa/unite.vim/tags","blobs_url":"https://api.github.com/repos/wilywampa/unite.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilywampa/unite.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilywampa/unite.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilywampa/unite.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilywampa/unite.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/wilywampa/unite.vim/languages","stargazers_url":"https://api.github.com/repos/wilywampa/unite.vim/stargazers","contributors_url":"https://api.github.com/repos/wilywampa/unite.vim/contributors","subscribers_url":"https://api.github.com/repos/wilywampa/unite.vim/subscribers","subscription_url":"https://api.github.com/repos/wilywampa/unite.vim/subscription","commits_url":"https://api.github.com/repos/wilywampa/unite.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilywampa/unite.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilywampa/unite.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilywampa/unite.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilywampa/unite.vim/contents/{+path}","compare_url":"https://api.github.com/repos/wilywampa/unite.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilywampa/unite.vim/merges","archive_url":"https://api.github.com/repos/wilywampa/unite.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilywampa/unite.vim/downloads","issues_url":"https://api.github.com/repos/wilywampa/unite.vim/issues{/number}","pulls_url":"https://api.github.com/repos/wilywampa/unite.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/wilywampa/unite.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/wilywampa/unite.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilywampa/unite.vim/labels{/name}","releases_url":"https://api.github.com/repos/wilywampa/unite.vim/releases{/id}","created_at":"2014-05-15T02:01:14Z","updated_at":"2015-05-08T06:07:23Z","pushed_at":"2015-11-21T23:32:53Z","git_url":"git://github.com/wilywampa/unite.vim.git","ssh_url":"git@github.com:wilywampa/unite.vim.git","clone_url":"https://github.com/wilywampa/unite.vim.git","svn_url":"https://github.com/wilywampa/unite.vim","homepage":"http://www.vim.org/scripts/script.php?script_id=3396","size":11060,"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":"Shougo:master","ref":"master","sha":"018807942002a67614c93c8dd970a91e13b93690","user":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"repo":{"id":779996,"name":"unite.vim","full_name":"Shougo/unite.vim","owner":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shougo/unite.vim","description":":dragon: Unite and create user interfaces","fork":false,"url":"https://api.github.com/repos/Shougo/unite.vim","forks_url":"https://api.github.com/repos/Shougo/unite.vim/forks","keys_url":"https://api.github.com/repos/Shougo/unite.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shougo/unite.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shougo/unite.vim/teams","hooks_url":"https://api.github.com/repos/Shougo/unite.vim/hooks","issue_events_url":"https://api.github.com/repos/Shougo/unite.vim/issues/events{/number}","events_url":"https://api.github.com/repos/Shougo/unite.vim/events","assignees_url":"https://api.github.com/repos/Shougo/unite.vim/assignees{/user}","branches_url":"https://api.github.com/repos/Shougo/unite.vim/branches{/branch}","tags_url":"https://api.github.com/repos/Shougo/unite.vim/tags","blobs_url":"https://api.github.com/repos/Shougo/unite.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shougo/unite.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shougo/unite.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shougo/unite.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shougo/unite.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/Shougo/unite.vim/languages","stargazers_url":"https://api.github.com/repos/Shougo/unite.vim/stargazers","contributors_url":"https://api.github.com/repos/Shougo/unite.vim/contributors","subscribers_url":"https://api.github.com/repos/Shougo/unite.vim/subscribers","subscription_url":"https://api.github.com/repos/Shougo/unite.vim/subscription","commits_url":"https://api.github.com/repos/Shougo/unite.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shougo/unite.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shougo/unite.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shougo/unite.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shougo/unite.vim/contents/{+path}","compare_url":"https://api.github.com/repos/Shougo/unite.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shougo/unite.vim/merges","archive_url":"https://api.github.com/repos/Shougo/unite.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shougo/unite.vim/downloads","issues_url":"https://api.github.com/repos/Shougo/unite.vim/issues{/number}","pulls_url":"https://api.github.com/repos/Shougo/unite.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/Shougo/unite.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/Shougo/unite.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shougo/unite.vim/labels{/name}","releases_url":"https://api.github.com/repos/Shougo/unite.vim/releases{/id}","created_at":"2010-07-17T02:45:59Z","updated_at":"2015-11-20T22:13:41Z","pushed_at":"2015-11-21T23:45:45Z","git_url":"git://github.com/Shougo/unite.vim.git","ssh_url":"git@github.com:Shougo/unite.vim.git","clone_url":"https://github.com/Shougo/unite.vim.git","svn_url":"https://github.com/Shougo/unite.vim","homepage":"http://www.vim.org/scripts/script.php?script_id=3396","size":17312,"stargazers_count":2007,"watchers_count":2007,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":19,"forks":173,"open_issues":19,"watchers":2007,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073"},"html":{"href":"https://github.com/Shougo/unite.vim/pull/1073"},"issue":{"href":"https://api.github.com/repos/Shougo/unite.vim/issues/1073"},"comments":{"href":"https://api.github.com/repos/Shougo/unite.vim/issues/1073/comments"},"review_comments":{"href":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073/comments"},"review_comment":{"href":"https://api.github.com/repos/Shougo/unite.vim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shougo/unite.vim/pulls/1073/commits"},"statuses":{"href":"https://api.github.com/repos/Shougo/unite.vim/statuses/5590aa6d9ddfe45881c3033d3cb6252dccc83e50"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}