{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/369","repository_url":"https://api.github.com/repos/Shougo/deoplete.nvim","labels_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/369/comments","events_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/369/events","html_url":"https://github.com/Shougo/deoplete.nvim/pull/369","id":186681214,"number":369,"title":"buffer: let user disable same-filetype restriction","user":{"login":"sunaku","id":9863,"avatar_url":"https://avatars.githubusercontent.com/u/9863?v=3","gravatar_id":"","url":"https://api.github.com/users/sunaku","html_url":"https://github.com/sunaku","followers_url":"https://api.github.com/users/sunaku/followers","following_url":"https://api.github.com/users/sunaku/following{/other_user}","gists_url":"https://api.github.com/users/sunaku/gists{/gist_id}","starred_url":"https://api.github.com/users/sunaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunaku/subscriptions","organizations_url":"https://api.github.com/users/sunaku/orgs","repos_url":"https://api.github.com/users/sunaku/repos","events_url":"https://api.github.com/users/sunaku/events{/privacy}","received_events_url":"https://api.github.com/users/sunaku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-02T00:07:24Z","updated_at":"2016-11-04T06:21:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shougo/deoplete.nvim/pulls/369","html_url":"https://github.com/Shougo/deoplete.nvim/pull/369","diff_url":"https://github.com/Shougo/deoplete.nvim/pull/369.diff","patch_url":"https://github.com/Shougo/deoplete.nvim/pull/369.patch"},"body":"This patch allows the user to disable the buffer source's same-filetype\nrestriction, which limits keyword collection to same-filetype buffers by\ndefault, by exposing a new `require_same_filetype` custom setting:\n\n    \" Collect keywords from all buffers, regardless of filetype.\n    call deoplete#custom#set('buffer', 'require_same_filetype', 0)\n\nWithout this patch, to complete a word from a different filetype buffer,\nthe user needs to switch away from Deoplete to Vim's native completion:\n\n1. Wait for Deoplete to present its completion menu\n2. Press `<C-E>` to abort Deoplete's completion menu\n3. Press `<C-N>` to activate Vim's native completion"},"comment":{"url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/comments/258353447","html_url":"https://github.com/Shougo/deoplete.nvim/pull/369#issuecomment-258353447","issue_url":"https://api.github.com/repos/Shougo/deoplete.nvim/issues/369","id":258353447,"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},"created_at":"2016-11-04T06:21:24Z","updated_at":"2016-11-04T06:21:24Z","body":"@tweekmonster Thank you.  I have imported the changes.\r\n\r\n@sunaku It must be\r\n\r\n```python\r\nsame_filetype = context['vars'].get('deoplete#buffer_require_same_filetype', True)\r\n```"}}
{"actor":{"display_login":"Shougo"}}