{"action":"created","comment":{"url":"https://api.github.com/repos/Shougo/unite-session/pulls/comments/52303849","id":52303849,"diff_hunk":"@@ -45,7 +45,7 @@ if g:unite_source_session_enable_auto_save\n   augroup plugin-unite-source-session\n     autocmd!\n     autocmd CursorHold *\n-          \\ if v:this_session != '' | call unite#sources#session#_save('') | endif\n+          \\ if ( v:this_session != '' && &ft != 'unite' ) | call unite#sources#session#_save('') | endif","path":"plugin/unite/session.vim","position":5,"original_position":5,"commit_id":"2386bb6490c1173fd39d45e0293cd88cfbe88902","original_commit_id":"2386bb6490c1173fd39d45e0293cd88cfbe88902","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":"Please change like below.\r\n\r\n`\\ if (v:this_session != '' && &filetype !=# 'unite') | call unite#sources#session#_save('') | endif`","created_at":"2016-02-09T12:59:32Z","updated_at":"2016-02-09T12:59:32Z","html_url":"https://github.com/Shougo/unite-session/pull/15#discussion_r52303849","pull_request_url":"https://api.github.com/repos/Shougo/unite-session/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/comments/52303849"},"html":{"href":"https://github.com/Shougo/unite-session/pull/15#discussion_r52303849"},"pull_request":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Shougo/unite-session/pulls/15","id":58720754,"html_url":"https://github.com/Shougo/unite-session/pull/15","diff_url":"https://github.com/Shougo/unite-session/pull/15.diff","patch_url":"https://github.com/Shougo/unite-session/pull/15.patch","issue_url":"https://api.github.com/repos/Shougo/unite-session/issues/15","number":15,"state":"open","locked":false,"title":"Bug Fixes","user":{"login":"thecontinium","id":9400838,"avatar_url":"https://avatars.githubusercontent.com/u/9400838?v=3","gravatar_id":"","url":"https://api.github.com/users/thecontinium","html_url":"https://github.com/thecontinium","followers_url":"https://api.github.com/users/thecontinium/followers","following_url":"https://api.github.com/users/thecontinium/following{/other_user}","gists_url":"https://api.github.com/users/thecontinium/gists{/gist_id}","starred_url":"https://api.github.com/users/thecontinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecontinium/subscriptions","organizations_url":"https://api.github.com/users/thecontinium/orgs","repos_url":"https://api.github.com/users/thecontinium/repos","events_url":"https://api.github.com/users/thecontinium/events{/privacy}","received_events_url":"https://api.github.com/users/thecontinium/received_events","type":"User","site_admin":false},"body":"Not sure if you have better ways to do these ?\r\n\r\ncheers\r\n\r\n","created_at":"2016-02-09T09:14:05Z","updated_at":"2016-02-09T12:59:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d283ad7f923be0daa101b84dd0df0cf35530d6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shougo/unite-session/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Shougo/unite-session/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Shougo/unite-session/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shougo/unite-session/issues/15/comments","statuses_url":"https://api.github.com/repos/Shougo/unite-session/statuses/2386bb6490c1173fd39d45e0293cd88cfbe88902","head":{"label":"thecontinium:master","ref":"master","sha":"2386bb6490c1173fd39d45e0293cd88cfbe88902","user":{"login":"thecontinium","id":9400838,"avatar_url":"https://avatars.githubusercontent.com/u/9400838?v=3","gravatar_id":"","url":"https://api.github.com/users/thecontinium","html_url":"https://github.com/thecontinium","followers_url":"https://api.github.com/users/thecontinium/followers","following_url":"https://api.github.com/users/thecontinium/following{/other_user}","gists_url":"https://api.github.com/users/thecontinium/gists{/gist_id}","starred_url":"https://api.github.com/users/thecontinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecontinium/subscriptions","organizations_url":"https://api.github.com/users/thecontinium/orgs","repos_url":"https://api.github.com/users/thecontinium/repos","events_url":"https://api.github.com/users/thecontinium/events{/privacy}","received_events_url":"https://api.github.com/users/thecontinium/received_events","type":"User","site_admin":false},"repo":{"id":51352372,"name":"unite-session","full_name":"thecontinium/unite-session","owner":{"login":"thecontinium","id":9400838,"avatar_url":"https://avatars.githubusercontent.com/u/9400838?v=3","gravatar_id":"","url":"https://api.github.com/users/thecontinium","html_url":"https://github.com/thecontinium","followers_url":"https://api.github.com/users/thecontinium/followers","following_url":"https://api.github.com/users/thecontinium/following{/other_user}","gists_url":"https://api.github.com/users/thecontinium/gists{/gist_id}","starred_url":"https://api.github.com/users/thecontinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecontinium/subscriptions","organizations_url":"https://api.github.com/users/thecontinium/orgs","repos_url":"https://api.github.com/users/thecontinium/repos","events_url":"https://api.github.com/users/thecontinium/events{/privacy}","received_events_url":"https://api.github.com/users/thecontinium/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thecontinium/unite-session","description":"unite.vim session source","fork":true,"url":"https://api.github.com/repos/thecontinium/unite-session","forks_url":"https://api.github.com/repos/thecontinium/unite-session/forks","keys_url":"https://api.github.com/repos/thecontinium/unite-session/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thecontinium/unite-session/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thecontinium/unite-session/teams","hooks_url":"https://api.github.com/repos/thecontinium/unite-session/hooks","issue_events_url":"https://api.github.com/repos/thecontinium/unite-session/issues/events{/number}","events_url":"https://api.github.com/repos/thecontinium/unite-session/events","assignees_url":"https://api.github.com/repos/thecontinium/unite-session/assignees{/user}","branches_url":"https://api.github.com/repos/thecontinium/unite-session/branches{/branch}","tags_url":"https://api.github.com/repos/thecontinium/unite-session/tags","blobs_url":"https://api.github.com/repos/thecontinium/unite-session/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thecontinium/unite-session/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thecontinium/unite-session/git/refs{/sha}","trees_url":"https://api.github.com/repos/thecontinium/unite-session/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thecontinium/unite-session/statuses/{sha}","languages_url":"https://api.github.com/repos/thecontinium/unite-session/languages","stargazers_url":"https://api.github.com/repos/thecontinium/unite-session/stargazers","contributors_url":"https://api.github.com/repos/thecontinium/unite-session/contributors","subscribers_url":"https://api.github.com/repos/thecontinium/unite-session/subscribers","subscription_url":"https://api.github.com/repos/thecontinium/unite-session/subscription","commits_url":"https://api.github.com/repos/thecontinium/unite-session/commits{/sha}","git_commits_url":"https://api.github.com/repos/thecontinium/unite-session/git/commits{/sha}","comments_url":"https://api.github.com/repos/thecontinium/unite-session/comments{/number}","issue_comment_url":"https://api.github.com/repos/thecontinium/unite-session/issues/comments{/number}","contents_url":"https://api.github.com/repos/thecontinium/unite-session/contents/{+path}","compare_url":"https://api.github.com/repos/thecontinium/unite-session/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thecontinium/unite-session/merges","archive_url":"https://api.github.com/repos/thecontinium/unite-session/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thecontinium/unite-session/downloads","issues_url":"https://api.github.com/repos/thecontinium/unite-session/issues{/number}","pulls_url":"https://api.github.com/repos/thecontinium/unite-session/pulls{/number}","milestones_url":"https://api.github.com/repos/thecontinium/unite-session/milestones{/number}","notifications_url":"https://api.github.com/repos/thecontinium/unite-session/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thecontinium/unite-session/labels{/name}","releases_url":"https://api.github.com/repos/thecontinium/unite-session/releases{/id}","deployments_url":"https://api.github.com/repos/thecontinium/unite-session/deployments","created_at":"2016-02-09T07:22:32Z","updated_at":"2016-02-09T07:22:32Z","pushed_at":"2016-02-09T08:48:36Z","git_url":"git://github.com/thecontinium/unite-session.git","ssh_url":"git@github.com:thecontinium/unite-session.git","clone_url":"https://github.com/thecontinium/unite-session.git","svn_url":"https://github.com/thecontinium/unite-session","homepage":null,"size":21,"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":"2c7d226667c67ee996a04917316aa91d8f312d8c","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":5213883,"name":"unite-session","full_name":"Shougo/unite-session","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-session","description":"unite.vim session source","fork":false,"url":"https://api.github.com/repos/Shougo/unite-session","forks_url":"https://api.github.com/repos/Shougo/unite-session/forks","keys_url":"https://api.github.com/repos/Shougo/unite-session/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shougo/unite-session/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shougo/unite-session/teams","hooks_url":"https://api.github.com/repos/Shougo/unite-session/hooks","issue_events_url":"https://api.github.com/repos/Shougo/unite-session/issues/events{/number}","events_url":"https://api.github.com/repos/Shougo/unite-session/events","assignees_url":"https://api.github.com/repos/Shougo/unite-session/assignees{/user}","branches_url":"https://api.github.com/repos/Shougo/unite-session/branches{/branch}","tags_url":"https://api.github.com/repos/Shougo/unite-session/tags","blobs_url":"https://api.github.com/repos/Shougo/unite-session/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shougo/unite-session/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shougo/unite-session/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shougo/unite-session/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shougo/unite-session/statuses/{sha}","languages_url":"https://api.github.com/repos/Shougo/unite-session/languages","stargazers_url":"https://api.github.com/repos/Shougo/unite-session/stargazers","contributors_url":"https://api.github.com/repos/Shougo/unite-session/contributors","subscribers_url":"https://api.github.com/repos/Shougo/unite-session/subscribers","subscription_url":"https://api.github.com/repos/Shougo/unite-session/subscription","commits_url":"https://api.github.com/repos/Shougo/unite-session/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shougo/unite-session/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shougo/unite-session/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shougo/unite-session/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shougo/unite-session/contents/{+path}","compare_url":"https://api.github.com/repos/Shougo/unite-session/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shougo/unite-session/merges","archive_url":"https://api.github.com/repos/Shougo/unite-session/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shougo/unite-session/downloads","issues_url":"https://api.github.com/repos/Shougo/unite-session/issues{/number}","pulls_url":"https://api.github.com/repos/Shougo/unite-session/pulls{/number}","milestones_url":"https://api.github.com/repos/Shougo/unite-session/milestones{/number}","notifications_url":"https://api.github.com/repos/Shougo/unite-session/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shougo/unite-session/labels{/name}","releases_url":"https://api.github.com/repos/Shougo/unite-session/releases{/id}","deployments_url":"https://api.github.com/repos/Shougo/unite-session/deployments","created_at":"2012-07-28T11:12:06Z","updated_at":"2015-08-18T22:30:48Z","pushed_at":"2016-02-09T09:14:05Z","git_url":"git://github.com/Shougo/unite-session.git","ssh_url":"git@github.com:Shougo/unite-session.git","clone_url":"https://github.com/Shougo/unite-session.git","svn_url":"https://github.com/Shougo/unite-session","homepage":null,"size":170,"stargazers_count":24,"watchers_count":24,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/15"},"html":{"href":"https://github.com/Shougo/unite-session/pull/15"},"issue":{"href":"https://api.github.com/repos/Shougo/unite-session/issues/15"},"comments":{"href":"https://api.github.com/repos/Shougo/unite-session/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shougo/unite-session/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Shougo/unite-session/statuses/2386bb6490c1173fd39d45e0293cd88cfbe88902"}}}}