{"action":"created","issue":{"url":"https://api.github.com/repos/fatih/vim-go/issues/1585","repository_url":"https://api.github.com/repos/fatih/vim-go","labels_url":"https://api.github.com/repos/fatih/vim-go/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/fatih/vim-go/issues/1585/comments","events_url":"https://api.github.com/repos/fatih/vim-go/issues/1585/events","html_url":"https://github.com/fatih/vim-go/pull/1585","id":276793257,"number":1585,"title":"Use :sbuffer in :GoAlternate","user":{"login":"Carpetsmoker","id":1032692,"avatar_url":"https://avatars1.githubusercontent.com/u/1032692?v=4","gravatar_id":"","url":"https://api.github.com/users/Carpetsmoker","html_url":"https://github.com/Carpetsmoker","followers_url":"https://api.github.com/users/Carpetsmoker/followers","following_url":"https://api.github.com/users/Carpetsmoker/following{/other_user}","gists_url":"https://api.github.com/users/Carpetsmoker/gists{/gist_id}","starred_url":"https://api.github.com/users/Carpetsmoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carpetsmoker/subscriptions","organizations_url":"https://api.github.com/users/Carpetsmoker/orgs","repos_url":"https://api.github.com/users/Carpetsmoker/repos","events_url":"https://api.github.com/users/Carpetsmoker/events{/privacy}","received_events_url":"https://api.github.com/users/Carpetsmoker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-26T02:15:53Z","updated_at":"2017-11-30T02:08:41Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/fatih/vim-go/pulls/1585","html_url":"https://github.com/fatih/vim-go/pull/1585","diff_url":"https://github.com/fatih/vim-go/pull/1585.diff","patch_url":"https://github.com/fatih/vim-go/pull/1585.patch"},"body":"Use the `:sbuffer` command when it's already loaded. This is especially\r\nuseful if switchbuf is set to useopen or usetab.\r\nOtherwise setting g:go_alternate_mode to `split` or `tabe` will just\r\nkeep on creating new windows or tabs.\r\n\r\nThis also fixes a bug where paths with e.g. a space didn't work\r\ncorrectly.\r\n\r\nAlso add a test for go#alternate#Switch() and a few help for tests. If\r\n`g:go_running_tests` is set, `go#util#Echo*` will record messages in\r\n`g:go_messages` so we can easily access it from tests."},"comment":{"url":"https://api.github.com/repos/fatih/vim-go/issues/comments/348060041","html_url":"https://github.com/fatih/vim-go/pull/1585#issuecomment-348060041","issue_url":"https://api.github.com/repos/fatih/vim-go/issues/1585","id":348060041,"user":{"login":"bhcleek","id":1958864,"avatar_url":"https://avatars1.githubusercontent.com/u/1958864?v=4","gravatar_id":"","url":"https://api.github.com/users/bhcleek","html_url":"https://github.com/bhcleek","followers_url":"https://api.github.com/users/bhcleek/followers","following_url":"https://api.github.com/users/bhcleek/following{/other_user}","gists_url":"https://api.github.com/users/bhcleek/gists{/gist_id}","starred_url":"https://api.github.com/users/bhcleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhcleek/subscriptions","organizations_url":"https://api.github.com/users/bhcleek/orgs","repos_url":"https://api.github.com/users/bhcleek/repos","events_url":"https://api.github.com/users/bhcleek/events{/privacy}","received_events_url":"https://api.github.com/users/bhcleek/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T02:08:41Z","updated_at":"2017-11-30T02:08:41Z","author_association":"COLLABORATOR","body":"LGTM"}}
{"actor":{"display_login":"bhcleek"}}