{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23","id":176102207,"html_url":"https://github.com/devjoe/vim-codequery/pull/23","diff_url":"https://github.com/devjoe/vim-codequery/pull/23.diff","patch_url":"https://github.com/devjoe/vim-codequery/pull/23.patch","issue_url":"https://api.github.com/repos/devjoe/vim-codequery/issues/23","number":23,"state":"open","locked":false,"title":"modify plugin with sync method","user":{"login":"syslot","id":5219942,"avatar_url":"https://avatars1.githubusercontent.com/u/5219942?v=4","gravatar_id":"","url":"https://api.github.com/users/syslot","html_url":"https://github.com/syslot","followers_url":"https://api.github.com/users/syslot/followers","following_url":"https://api.github.com/users/syslot/following{/other_user}","gists_url":"https://api.github.com/users/syslot/gists{/gist_id}","starred_url":"https://api.github.com/users/syslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syslot/subscriptions","organizations_url":"https://api.github.com/users/syslot/orgs","repos_url":"https://api.github.com/users/syslot/repos","events_url":"https://api.github.com/users/syslot/events{/privacy}","received_events_url":"https://api.github.com/users/syslot/received_events","type":"User","site_admin":false},"body":"I read docs of vim8/neovim and find that the **job apis** are different. \r\n\r\nSo, I just add a condition to check the api version.  If we use neovim, the plugin will just use the sync method.","created_at":"2018-03-20T06:49:20Z","updated_at":"2018-03-20T06:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23/commits","review_comments_url":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23/comments","review_comment_url":"https://api.github.com/repos/devjoe/vim-codequery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devjoe/vim-codequery/issues/23/comments","statuses_url":"https://api.github.com/repos/devjoe/vim-codequery/statuses/0a07f54cad955f310680a5c3e7464838bcc2b112","head":{"label":"syslot:master","ref":"master","sha":"0a07f54cad955f310680a5c3e7464838bcc2b112","user":{"login":"syslot","id":5219942,"avatar_url":"https://avatars1.githubusercontent.com/u/5219942?v=4","gravatar_id":"","url":"https://api.github.com/users/syslot","html_url":"https://github.com/syslot","followers_url":"https://api.github.com/users/syslot/followers","following_url":"https://api.github.com/users/syslot/following{/other_user}","gists_url":"https://api.github.com/users/syslot/gists{/gist_id}","starred_url":"https://api.github.com/users/syslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syslot/subscriptions","organizations_url":"https://api.github.com/users/syslot/orgs","repos_url":"https://api.github.com/users/syslot/repos","events_url":"https://api.github.com/users/syslot/events{/privacy}","received_events_url":"https://api.github.com/users/syslot/received_events","type":"User","site_admin":false},"repo":{"id":120442921,"name":"vim-codequery","full_name":"syslot/vim-codequery","owner":{"login":"syslot","id":5219942,"avatar_url":"https://avatars1.githubusercontent.com/u/5219942?v=4","gravatar_id":"","url":"https://api.github.com/users/syslot","html_url":"https://github.com/syslot","followers_url":"https://api.github.com/users/syslot/followers","following_url":"https://api.github.com/users/syslot/following{/other_user}","gists_url":"https://api.github.com/users/syslot/gists{/gist_id}","starred_url":"https://api.github.com/users/syslot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syslot/subscriptions","organizations_url":"https://api.github.com/users/syslot/orgs","repos_url":"https://api.github.com/users/syslot/repos","events_url":"https://api.github.com/users/syslot/events{/privacy}","received_events_url":"https://api.github.com/users/syslot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/syslot/vim-codequery","description":"Search + Browse + Understand your code more efficiently.","fork":true,"url":"https://api.github.com/repos/syslot/vim-codequery","forks_url":"https://api.github.com/repos/syslot/vim-codequery/forks","keys_url":"https://api.github.com/repos/syslot/vim-codequery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syslot/vim-codequery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syslot/vim-codequery/teams","hooks_url":"https://api.github.com/repos/syslot/vim-codequery/hooks","issue_events_url":"https://api.github.com/repos/syslot/vim-codequery/issues/events{/number}","events_url":"https://api.github.com/repos/syslot/vim-codequery/events","assignees_url":"https://api.github.com/repos/syslot/vim-codequery/assignees{/user}","branches_url":"https://api.github.com/repos/syslot/vim-codequery/branches{/branch}","tags_url":"https://api.github.com/repos/syslot/vim-codequery/tags","blobs_url":"https://api.github.com/repos/syslot/vim-codequery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syslot/vim-codequery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syslot/vim-codequery/git/refs{/sha}","trees_url":"https://api.github.com/repos/syslot/vim-codequery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syslot/vim-codequery/statuses/{sha}","languages_url":"https://api.github.com/repos/syslot/vim-codequery/languages","stargazers_url":"https://api.github.com/repos/syslot/vim-codequery/stargazers","contributors_url":"https://api.github.com/repos/syslot/vim-codequery/contributors","subscribers_url":"https://api.github.com/repos/syslot/vim-codequery/subscribers","subscription_url":"https://api.github.com/repos/syslot/vim-codequery/subscription","commits_url":"https://api.github.com/repos/syslot/vim-codequery/commits{/sha}","git_commits_url":"https://api.github.com/repos/syslot/vim-codequery/git/commits{/sha}","comments_url":"https://api.github.com/repos/syslot/vim-codequery/comments{/number}","issue_comment_url":"https://api.github.com/repos/syslot/vim-codequery/issues/comments{/number}","contents_url":"https://api.github.com/repos/syslot/vim-codequery/contents/{+path}","compare_url":"https://api.github.com/repos/syslot/vim-codequery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syslot/vim-codequery/merges","archive_url":"https://api.github.com/repos/syslot/vim-codequery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syslot/vim-codequery/downloads","issues_url":"https://api.github.com/repos/syslot/vim-codequery/issues{/number}","pulls_url":"https://api.github.com/repos/syslot/vim-codequery/pulls{/number}","milestones_url":"https://api.github.com/repos/syslot/vim-codequery/milestones{/number}","notifications_url":"https://api.github.com/repos/syslot/vim-codequery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syslot/vim-codequery/labels{/name}","releases_url":"https://api.github.com/repos/syslot/vim-codequery/releases{/id}","deployments_url":"https://api.github.com/repos/syslot/vim-codequery/deployments","created_at":"2018-02-06T11:06:36Z","updated_at":"2018-03-20T06:36:52Z","pushed_at":"2018-03-20T06:36:51Z","git_url":"git://github.com/syslot/vim-codequery.git","ssh_url":"git@github.com:syslot/vim-codequery.git","clone_url":"https://github.com/syslot/vim-codequery.git","svn_url":"https://github.com/syslot/vim-codequery","homepage":"","size":76,"stargazers_count":0,"watchers_count":0,"language":"Vim script","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"devjoe:master","ref":"master","sha":"745321f0ac613c493b9c4857cf6ba637da5d3567","user":{"login":"devjoe","id":1658389,"avatar_url":"https://avatars3.githubusercontent.com/u/1658389?v=4","gravatar_id":"","url":"https://api.github.com/users/devjoe","html_url":"https://github.com/devjoe","followers_url":"https://api.github.com/users/devjoe/followers","following_url":"https://api.github.com/users/devjoe/following{/other_user}","gists_url":"https://api.github.com/users/devjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/devjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devjoe/subscriptions","organizations_url":"https://api.github.com/users/devjoe/orgs","repos_url":"https://api.github.com/users/devjoe/repos","events_url":"https://api.github.com/users/devjoe/events{/privacy}","received_events_url":"https://api.github.com/users/devjoe/received_events","type":"User","site_admin":false},"repo":{"id":64049133,"name":"vim-codequery","full_name":"devjoe/vim-codequery","owner":{"login":"devjoe","id":1658389,"avatar_url":"https://avatars3.githubusercontent.com/u/1658389?v=4","gravatar_id":"","url":"https://api.github.com/users/devjoe","html_url":"https://github.com/devjoe","followers_url":"https://api.github.com/users/devjoe/followers","following_url":"https://api.github.com/users/devjoe/following{/other_user}","gists_url":"https://api.github.com/users/devjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/devjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devjoe/subscriptions","organizations_url":"https://api.github.com/users/devjoe/orgs","repos_url":"https://api.github.com/users/devjoe/repos","events_url":"https://api.github.com/users/devjoe/events{/privacy}","received_events_url":"https://api.github.com/users/devjoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devjoe/vim-codequery","description":"Search + Browse + Understand your code more efficiently.","fork":false,"url":"https://api.github.com/repos/devjoe/vim-codequery","forks_url":"https://api.github.com/repos/devjoe/vim-codequery/forks","keys_url":"https://api.github.com/repos/devjoe/vim-codequery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devjoe/vim-codequery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devjoe/vim-codequery/teams","hooks_url":"https://api.github.com/repos/devjoe/vim-codequery/hooks","issue_events_url":"https://api.github.com/repos/devjoe/vim-codequery/issues/events{/number}","events_url":"https://api.github.com/repos/devjoe/vim-codequery/events","assignees_url":"https://api.github.com/repos/devjoe/vim-codequery/assignees{/user}","branches_url":"https://api.github.com/repos/devjoe/vim-codequery/branches{/branch}","tags_url":"https://api.github.com/repos/devjoe/vim-codequery/tags","blobs_url":"https://api.github.com/repos/devjoe/vim-codequery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devjoe/vim-codequery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devjoe/vim-codequery/git/refs{/sha}","trees_url":"https://api.github.com/repos/devjoe/vim-codequery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devjoe/vim-codequery/statuses/{sha}","languages_url":"https://api.github.com/repos/devjoe/vim-codequery/languages","stargazers_url":"https://api.github.com/repos/devjoe/vim-codequery/stargazers","contributors_url":"https://api.github.com/repos/devjoe/vim-codequery/contributors","subscribers_url":"https://api.github.com/repos/devjoe/vim-codequery/subscribers","subscription_url":"https://api.github.com/repos/devjoe/vim-codequery/subscription","commits_url":"https://api.github.com/repos/devjoe/vim-codequery/commits{/sha}","git_commits_url":"https://api.github.com/repos/devjoe/vim-codequery/git/commits{/sha}","comments_url":"https://api.github.com/repos/devjoe/vim-codequery/comments{/number}","issue_comment_url":"https://api.github.com/repos/devjoe/vim-codequery/issues/comments{/number}","contents_url":"https://api.github.com/repos/devjoe/vim-codequery/contents/{+path}","compare_url":"https://api.github.com/repos/devjoe/vim-codequery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devjoe/vim-codequery/merges","archive_url":"https://api.github.com/repos/devjoe/vim-codequery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devjoe/vim-codequery/downloads","issues_url":"https://api.github.com/repos/devjoe/vim-codequery/issues{/number}","pulls_url":"https://api.github.com/repos/devjoe/vim-codequery/pulls{/number}","milestones_url":"https://api.github.com/repos/devjoe/vim-codequery/milestones{/number}","notifications_url":"https://api.github.com/repos/devjoe/vim-codequery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devjoe/vim-codequery/labels{/name}","releases_url":"https://api.github.com/repos/devjoe/vim-codequery/releases{/id}","deployments_url":"https://api.github.com/repos/devjoe/vim-codequery/deployments","created_at":"2016-07-24T04:47:56Z","updated_at":"2018-03-19T12:03:41Z","pushed_at":"2018-01-01T08:27:52Z","git_url":"git://github.com/devjoe/vim-codequery.git","ssh_url":"git@github.com:devjoe/vim-codequery.git","clone_url":"https://github.com/devjoe/vim-codequery.git","svn_url":"https://github.com/devjoe/vim-codequery","homepage":"","size":76,"stargazers_count":115,"watchers_count":115,"language":"Vim script","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":6,"open_issues":11,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23"},"html":{"href":"https://github.com/devjoe/vim-codequery/pull/23"},"issue":{"href":"https://api.github.com/repos/devjoe/vim-codequery/issues/23"},"comments":{"href":"https://api.github.com/repos/devjoe/vim-codequery/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/devjoe/vim-codequery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devjoe/vim-codequery/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/devjoe/vim-codequery/statuses/0a07f54cad955f310680a5c3e7464838bcc2b112"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"syslot"}}