{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45","id":47979537,"html_url":"https://github.com/editorconfig/editorconfig-vim/pull/45","diff_url":"https://github.com/editorconfig/editorconfig-vim/pull/45.diff","patch_url":"https://github.com/editorconfig/editorconfig-vim/pull/45.patch","issue_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/45","number":45,"state":"open","locked":false,"title":"Check `shell` before `:setlocal noshellslash`","user":{"login":"hail2u","id":68940,"avatar_url":"https://avatars.githubusercontent.com/u/68940?v=3","gravatar_id":"","url":"https://api.github.com/users/hail2u","html_url":"https://github.com/hail2u","followers_url":"https://api.github.com/users/hail2u/followers","following_url":"https://api.github.com/users/hail2u/following{/other_user}","gists_url":"https://api.github.com/users/hail2u/gists{/gist_id}","starred_url":"https://api.github.com/users/hail2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail2u/subscriptions","organizations_url":"https://api.github.com/users/hail2u/orgs","repos_url":"https://api.github.com/users/hail2u/repos","events_url":"https://api.github.com/users/hail2u/events{/privacy}","received_events_url":"https://api.github.com/users/hail2u/received_events","type":"User","site_admin":false},"body":"In Windows with `set shell=sh`, there is no need to optimize `shellescape()`\r\nbehavior. So the plugin should check `shell` does not contain `sh` somewhere\r\nbefore setting `noshelllslash`.\r\n\r\nAlso note, checking only `shell` does not contain `sh` somewhere is mentioned in\r\n[`shellcmdflag` section][1] of Vim official doc.\r\n\r\nThis fixes #44.\r\n\r\n[1]: https://github.com/vim/vim/blob/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d/runtime/doc/options.txt#L6245-L6248","created_at":"2015-10-17T04:50:53Z","updated_at":"2015-10-17T04:50:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45/commits","review_comments_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45/comments","review_comment_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/45/comments","statuses_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/statuses/dbf8330b5ea661b4218b401b2cd0b3257ea0e5e5","head":{"label":"hail2u:check-shell","ref":"check-shell","sha":"dbf8330b5ea661b4218b401b2cd0b3257ea0e5e5","user":{"login":"hail2u","id":68940,"avatar_url":"https://avatars.githubusercontent.com/u/68940?v=3","gravatar_id":"","url":"https://api.github.com/users/hail2u","html_url":"https://github.com/hail2u","followers_url":"https://api.github.com/users/hail2u/followers","following_url":"https://api.github.com/users/hail2u/following{/other_user}","gists_url":"https://api.github.com/users/hail2u/gists{/gist_id}","starred_url":"https://api.github.com/users/hail2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail2u/subscriptions","organizations_url":"https://api.github.com/users/hail2u/orgs","repos_url":"https://api.github.com/users/hail2u/repos","events_url":"https://api.github.com/users/hail2u/events{/privacy}","received_events_url":"https://api.github.com/users/hail2u/received_events","type":"User","site_admin":false},"repo":{"id":44424279,"name":"editorconfig-vim","full_name":"hail2u/editorconfig-vim","owner":{"login":"hail2u","id":68940,"avatar_url":"https://avatars.githubusercontent.com/u/68940?v=3","gravatar_id":"","url":"https://api.github.com/users/hail2u","html_url":"https://github.com/hail2u","followers_url":"https://api.github.com/users/hail2u/followers","following_url":"https://api.github.com/users/hail2u/following{/other_user}","gists_url":"https://api.github.com/users/hail2u/gists{/gist_id}","starred_url":"https://api.github.com/users/hail2u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail2u/subscriptions","organizations_url":"https://api.github.com/users/hail2u/orgs","repos_url":"https://api.github.com/users/hail2u/repos","events_url":"https://api.github.com/users/hail2u/events{/privacy}","received_events_url":"https://api.github.com/users/hail2u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hail2u/editorconfig-vim","description":"EditorConfig plugin for Vim","fork":true,"url":"https://api.github.com/repos/hail2u/editorconfig-vim","forks_url":"https://api.github.com/repos/hail2u/editorconfig-vim/forks","keys_url":"https://api.github.com/repos/hail2u/editorconfig-vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hail2u/editorconfig-vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hail2u/editorconfig-vim/teams","hooks_url":"https://api.github.com/repos/hail2u/editorconfig-vim/hooks","issue_events_url":"https://api.github.com/repos/hail2u/editorconfig-vim/issues/events{/number}","events_url":"https://api.github.com/repos/hail2u/editorconfig-vim/events","assignees_url":"https://api.github.com/repos/hail2u/editorconfig-vim/assignees{/user}","branches_url":"https://api.github.com/repos/hail2u/editorconfig-vim/branches{/branch}","tags_url":"https://api.github.com/repos/hail2u/editorconfig-vim/tags","blobs_url":"https://api.github.com/repos/hail2u/editorconfig-vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hail2u/editorconfig-vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hail2u/editorconfig-vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/hail2u/editorconfig-vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hail2u/editorconfig-vim/statuses/{sha}","languages_url":"https://api.github.com/repos/hail2u/editorconfig-vim/languages","stargazers_url":"https://api.github.com/repos/hail2u/editorconfig-vim/stargazers","contributors_url":"https://api.github.com/repos/hail2u/editorconfig-vim/contributors","subscribers_url":"https://api.github.com/repos/hail2u/editorconfig-vim/subscribers","subscription_url":"https://api.github.com/repos/hail2u/editorconfig-vim/subscription","commits_url":"https://api.github.com/repos/hail2u/editorconfig-vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/hail2u/editorconfig-vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/hail2u/editorconfig-vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/hail2u/editorconfig-vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/hail2u/editorconfig-vim/contents/{+path}","compare_url":"https://api.github.com/repos/hail2u/editorconfig-vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hail2u/editorconfig-vim/merges","archive_url":"https://api.github.com/repos/hail2u/editorconfig-vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hail2u/editorconfig-vim/downloads","issues_url":"https://api.github.com/repos/hail2u/editorconfig-vim/issues{/number}","pulls_url":"https://api.github.com/repos/hail2u/editorconfig-vim/pulls{/number}","milestones_url":"https://api.github.com/repos/hail2u/editorconfig-vim/milestones{/number}","notifications_url":"https://api.github.com/repos/hail2u/editorconfig-vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hail2u/editorconfig-vim/labels{/name}","releases_url":"https://api.github.com/repos/hail2u/editorconfig-vim/releases{/id}","created_at":"2015-10-17T04:43:16Z","updated_at":"2015-10-17T04:43:17Z","pushed_at":"2015-10-17T04:50:37Z","git_url":"git://github.com/hail2u/editorconfig-vim.git","ssh_url":"git@github.com:hail2u/editorconfig-vim.git","clone_url":"https://github.com/hail2u/editorconfig-vim.git","svn_url":"https://github.com/hail2u/editorconfig-vim","homepage":"http://editorconfig.org","size":2115,"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":"editorconfig:master","ref":"master","sha":"912eeeab7d7702358904552b9940e12e2f0a9afd","user":{"login":"editorconfig","id":1165674,"avatar_url":"https://avatars.githubusercontent.com/u/1165674?v=3","gravatar_id":"","url":"https://api.github.com/users/editorconfig","html_url":"https://github.com/editorconfig","followers_url":"https://api.github.com/users/editorconfig/followers","following_url":"https://api.github.com/users/editorconfig/following{/other_user}","gists_url":"https://api.github.com/users/editorconfig/gists{/gist_id}","starred_url":"https://api.github.com/users/editorconfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/editorconfig/subscriptions","organizations_url":"https://api.github.com/users/editorconfig/orgs","repos_url":"https://api.github.com/users/editorconfig/repos","events_url":"https://api.github.com/users/editorconfig/events{/privacy}","received_events_url":"https://api.github.com/users/editorconfig/received_events","type":"Organization","site_admin":false},"repo":{"id":2571129,"name":"editorconfig-vim","full_name":"editorconfig/editorconfig-vim","owner":{"login":"editorconfig","id":1165674,"avatar_url":"https://avatars.githubusercontent.com/u/1165674?v=3","gravatar_id":"","url":"https://api.github.com/users/editorconfig","html_url":"https://github.com/editorconfig","followers_url":"https://api.github.com/users/editorconfig/followers","following_url":"https://api.github.com/users/editorconfig/following{/other_user}","gists_url":"https://api.github.com/users/editorconfig/gists{/gist_id}","starred_url":"https://api.github.com/users/editorconfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/editorconfig/subscriptions","organizations_url":"https://api.github.com/users/editorconfig/orgs","repos_url":"https://api.github.com/users/editorconfig/repos","events_url":"https://api.github.com/users/editorconfig/events{/privacy}","received_events_url":"https://api.github.com/users/editorconfig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/editorconfig/editorconfig-vim","description":"EditorConfig plugin for Vim","fork":false,"url":"https://api.github.com/repos/editorconfig/editorconfig-vim","forks_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/forks","keys_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/teams","hooks_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/hooks","issue_events_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/events{/number}","events_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/events","assignees_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/assignees{/user}","branches_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/branches{/branch}","tags_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/tags","blobs_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/statuses/{sha}","languages_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/languages","stargazers_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/stargazers","contributors_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/contributors","subscribers_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/subscribers","subscription_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/subscription","commits_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/contents/{+path}","compare_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/merges","archive_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/downloads","issues_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues{/number}","pulls_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls{/number}","milestones_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/milestones{/number}","notifications_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/labels{/name}","releases_url":"https://api.github.com/repos/editorconfig/editorconfig-vim/releases{/id}","created_at":"2011-10-13T17:41:23Z","updated_at":"2015-10-17T04:20:33Z","pushed_at":"2015-09-12T03:37:23Z","git_url":"git://github.com/editorconfig/editorconfig-vim.git","ssh_url":"git@github.com:editorconfig/editorconfig-vim.git","clone_url":"https://github.com/editorconfig/editorconfig-vim.git","svn_url":"https://github.com/editorconfig/editorconfig-vim","homepage":"http://editorconfig.org","size":10119,"stargazers_count":715,"watchers_count":715,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":3,"forks":39,"open_issues":3,"watchers":715,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45"},"html":{"href":"https://github.com/editorconfig/editorconfig-vim/pull/45"},"issue":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/45"},"comments":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/editorconfig/editorconfig-vim/statuses/dbf8330b5ea661b4218b401b2cd0b3257ea0e5e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":4,"changed_files":1}}