{"action":"created","comment":{"url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/comments/46742541","id":46742541,"diff_hunk":"@@ -0,0 +1,47 @@\n+from jedi import Script\n+\n+from .base import Base\n+from deoplete import util\n+\n+\n+class Source(Base):\n+    def __init__(self, vim):\n+        # super(Base, self).__init__(vim)\n+        Base.__init__(self, vim)\n+        util.debug(vim, 'Init deoplete jedi')\n+\n+        self.name = 'jedi'\n+        self.mark = '[J]'\n+        self.filetypes = ['python']","path":"rplugin/python3/deoplete/sources/deoplete_jedi.py","position":15,"original_position":15,"commit_id":"bd47f08d94b85c7a47022fae34a76cfe5fd239e0","original_commit_id":"bd47f08d94b85c7a47022fae34a76cfe5fd239e0","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},"body":"`self.min_pattern_length = 0` is needed.","created_at":"2015-12-04T22:54:56Z","updated_at":"2015-12-04T22:54:56Z","html_url":"https://github.com/Shougo/deoplete.nvim/pull/88#discussion_r46742541","pull_request_url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/comments/46742541"},"html":{"href":"https://github.com/Shougo/deoplete.nvim/pull/88#discussion_r46742541"},"pull_request":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88","id":52731097,"html_url":"https://github.com/Shougo/deoplete.nvim/pull/88","diff_url":"https://github.com/Shougo/deoplete.nvim/pull/88.diff","patch_url":"https://github.com/Shougo/deoplete.nvim/pull/88.patch","issue_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/88","number":88,"state":"open","locked":false,"title":"WIP: Building a source for Jedi","user":{"login":"ViViDboarder","id":137025,"avatar_url":"https://avatars.githubusercontent.com/u/137025?v=3","gravatar_id":"","url":"https://api.github.com/users/ViViDboarder","html_url":"https://github.com/ViViDboarder","followers_url":"https://api.github.com/users/ViViDboarder/followers","following_url":"https://api.github.com/users/ViViDboarder/following{/other_user}","gists_url":"https://api.github.com/users/ViViDboarder/gists{/gist_id}","starred_url":"https://api.github.com/users/ViViDboarder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViViDboarder/subscriptions","organizations_url":"https://api.github.com/users/ViViDboarder/orgs","repos_url":"https://api.github.com/users/ViViDboarder/repos","events_url":"https://api.github.com/users/ViViDboarder/events{/privacy}","received_events_url":"https://api.github.com/users/ViViDboarder/received_events","type":"User","site_admin":false},"body":"I don't actually intend for you to merge this into deoplete, but this was the easiest way to develop, debug, and ask for some help.\r\n\r\nI've been working on the following source and I can see that the debug on line 11 works just fine, but it does not appear that `gather_candidates` is called at all because line 18 is never shown in messages. Is there something I'm missing?\r\n\r\nAlso, I'm getting the cursor and buffer contents from `self.vim.current`, but I see that a `context` is provided. Are these included? I would just read my debugs, but as I said before, `gather_candidates` doesn't appear to be called.","created_at":"2015-12-04T22:41:39Z","updated_at":"2015-12-04T22:54:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d4838c31ed5a2d13d5d5500a0e8336588a91f28","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88/commits","review_comments_url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88/comments","review_comment_url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/88/comments","statuses_url":"https://api.github.com/repos/Shougo/deoplete.nvim/statuses/bd47f08d94b85c7a47022fae34a76cfe5fd239e0","head":{"label":"ViViDboarder:jedi","ref":"jedi","sha":"bd47f08d94b85c7a47022fae34a76cfe5fd239e0","user":{"login":"ViViDboarder","id":137025,"avatar_url":"https://avatars.githubusercontent.com/u/137025?v=3","gravatar_id":"","url":"https://api.github.com/users/ViViDboarder","html_url":"https://github.com/ViViDboarder","followers_url":"https://api.github.com/users/ViViDboarder/followers","following_url":"https://api.github.com/users/ViViDboarder/following{/other_user}","gists_url":"https://api.github.com/users/ViViDboarder/gists{/gist_id}","starred_url":"https://api.github.com/users/ViViDboarder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViViDboarder/subscriptions","organizations_url":"https://api.github.com/users/ViViDboarder/orgs","repos_url":"https://api.github.com/users/ViViDboarder/repos","events_url":"https://api.github.com/users/ViViDboarder/events{/privacy}","received_events_url":"https://api.github.com/users/ViViDboarder/received_events","type":"User","site_admin":false},"repo":{"id":47432275,"name":"deoplete.nvim","full_name":"ViViDboarder/deoplete.nvim","owner":{"login":"ViViDboarder","id":137025,"avatar_url":"https://avatars.githubusercontent.com/u/137025?v=3","gravatar_id":"","url":"https://api.github.com/users/ViViDboarder","html_url":"https://github.com/ViViDboarder","followers_url":"https://api.github.com/users/ViViDboarder/followers","following_url":"https://api.github.com/users/ViViDboarder/following{/other_user}","gists_url":"https://api.github.com/users/ViViDboarder/gists{/gist_id}","starred_url":"https://api.github.com/users/ViViDboarder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViViDboarder/subscriptions","organizations_url":"https://api.github.com/users/ViViDboarder/orgs","repos_url":"https://api.github.com/users/ViViDboarder/repos","events_url":"https://api.github.com/users/ViViDboarder/events{/privacy}","received_events_url":"https://api.github.com/users/ViViDboarder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ViViDboarder/deoplete.nvim","description":":stars: Dark powered asynchronous completion framework for neovim","fork":true,"url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim","forks_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/forks","keys_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/teams","hooks_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/hooks","issue_events_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/issues/events{/number}","events_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/events","assignees_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/assignees{/user}","branches_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/branches{/branch}","tags_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/tags","blobs_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/git/refs{/sha}","trees_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/statuses/{sha}","languages_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/languages","stargazers_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/stargazers","contributors_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/contributors","subscribers_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/subscribers","subscription_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/subscription","commits_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/commits{/sha}","git_commits_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/git/commits{/sha}","comments_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/comments{/number}","issue_comment_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/issues/comments{/number}","contents_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/contents/{+path}","compare_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/merges","archive_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/downloads","issues_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/issues{/number}","pulls_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/pulls{/number}","milestones_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/milestones{/number}","notifications_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/labels{/name}","releases_url":"https://api.github.com/repos/ViViDboarder/deoplete.nvim/releases{/id}","created_at":"2015-12-04T22:36:32Z","updated_at":"2015-12-04T22:36:32Z","pushed_at":"2015-12-04T22:37:38Z","git_url":"git://github.com/ViViDboarder/deoplete.nvim.git","ssh_url":"git@github.com:ViViDboarder/deoplete.nvim.git","clone_url":"https://github.com/ViViDboarder/deoplete.nvim.git","svn_url":"https://github.com/ViViDboarder/deoplete.nvim","homepage":"","size":241,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"6a2642f668feb83bb3243044468d4d6fcc9978b7","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":27223413,"name":"deoplete.nvim","full_name":"Shougo/deoplete.nvim","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/deoplete.nvim","description":":stars: Dark powered asynchronous completion framework for neovim","fork":false,"url":"https://api.github.com/repos/Shougo/deoplete.nvim","forks_url":"https://api.github.com/repos/Shougo/deoplete.nvim/forks","keys_url":"https://api.github.com/repos/Shougo/deoplete.nvim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shougo/deoplete.nvim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shougo/deoplete.nvim/teams","hooks_url":"https://api.github.com/repos/Shougo/deoplete.nvim/hooks","issue_events_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/events{/number}","events_url":"https://api.github.com/repos/Shougo/deoplete.nvim/events","assignees_url":"https://api.github.com/repos/Shougo/deoplete.nvim/assignees{/user}","branches_url":"https://api.github.com/repos/Shougo/deoplete.nvim/branches{/branch}","tags_url":"https://api.github.com/repos/Shougo/deoplete.nvim/tags","blobs_url":"https://api.github.com/repos/Shougo/deoplete.nvim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shougo/deoplete.nvim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shougo/deoplete.nvim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shougo/deoplete.nvim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shougo/deoplete.nvim/statuses/{sha}","languages_url":"https://api.github.com/repos/Shougo/deoplete.nvim/languages","stargazers_url":"https://api.github.com/repos/Shougo/deoplete.nvim/stargazers","contributors_url":"https://api.github.com/repos/Shougo/deoplete.nvim/contributors","subscribers_url":"https://api.github.com/repos/Shougo/deoplete.nvim/subscribers","subscription_url":"https://api.github.com/repos/Shougo/deoplete.nvim/subscription","commits_url":"https://api.github.com/repos/Shougo/deoplete.nvim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shougo/deoplete.nvim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shougo/deoplete.nvim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shougo/deoplete.nvim/contents/{+path}","compare_url":"https://api.github.com/repos/Shougo/deoplete.nvim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shougo/deoplete.nvim/merges","archive_url":"https://api.github.com/repos/Shougo/deoplete.nvim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shougo/deoplete.nvim/downloads","issues_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues{/number}","pulls_url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls{/number}","milestones_url":"https://api.github.com/repos/Shougo/deoplete.nvim/milestones{/number}","notifications_url":"https://api.github.com/repos/Shougo/deoplete.nvim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shougo/deoplete.nvim/labels{/name}","releases_url":"https://api.github.com/repos/Shougo/deoplete.nvim/releases{/id}","created_at":"2014-11-27T11:58:33Z","updated_at":"2015-12-03T14:18:21Z","pushed_at":"2015-12-04T22:46:02Z","git_url":"git://github.com/Shougo/deoplete.nvim.git","ssh_url":"git@github.com:Shougo/deoplete.nvim.git","clone_url":"https://github.com/Shougo/deoplete.nvim.git","svn_url":"https://github.com/Shougo/deoplete.nvim","homepage":"","size":248,"stargazers_count":309,"watchers_count":309,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":309,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88"},"html":{"href":"https://github.com/Shougo/deoplete.nvim/pull/88"},"issue":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/88"},"comments":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/Shougo/deoplete.nvim/statuses/bd47f08d94b85c7a47022fae34a76cfe5fd239e0"}}}}