{"action":"created","comment":{"url":"https://api.github.com/repos/neomake/neomake/pulls/comments/80221230","id":80221230,"diff_hunk":"@@ -0,0 +1,29 @@\n+\" vim: ts=4 sw=4 et\n+\n+function! neomake#makers#clippy#clippy() abort\n+    let errorfmt = '%Eerror[E%n]: %m,'.\n+                 \\ '%Eerror: %m,'.\n+                 \\ '%Wwarning: %m,'.\n+                 \\ '%Inote: %m,'.\n+                 \\ '%-Z\\ %#-->\\ %f:%l:%c,'.\n+                 \\ '%I\\ %#\\= %t%*[^:]: %m,'.\n+                 \\ '%I\\ %#|\\ %#%\\\\^%\\\\+ %m,'.\n+                 \\ '%-G%s,'\n+\n+    \" When rustup and a nightly toolchain is installed, that is used.\n+    \" Otherwise, the default cargo exectuable is used. If this is not part\n+    \" of a nightly rust, this will fail.\n+    if executable('rustup') && system('rustup show | grep nightly | wc -l') >= 1","path":"autoload/neomake/makers/clippy.vim","position":null,"original_position":16,"commit_id":"3fa0786509bac952e813813ff6fbb7447be0c753","original_commit_id":"66b4d6d911d3ce45e7df78a705321344ba807de9","user":{"login":"Eisfreak7","id":3799330,"avatar_url":"https://avatars.githubusercontent.com/u/3799330?v=3","gravatar_id":"","url":"https://api.github.com/users/Eisfreak7","html_url":"https://github.com/Eisfreak7","followers_url":"https://api.github.com/users/Eisfreak7/followers","following_url":"https://api.github.com/users/Eisfreak7/following{/other_user}","gists_url":"https://api.github.com/users/Eisfreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/Eisfreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eisfreak7/subscriptions","organizations_url":"https://api.github.com/users/Eisfreak7/orgs","repos_url":"https://api.github.com/users/Eisfreak7/repos","events_url":"https://api.github.com/users/Eisfreak7/events{/privacy}","received_events_url":"https://api.github.com/users/Eisfreak7/received_events","type":"User","site_admin":false},"body":"```\r\n> time rustup show | grep -q '^nightly'\r\nrustup show  0.04s user 0.01s system 93% cpu 0.050 total\r\ngrep --color=auto -q '^nightly'  0.00s user 0.00s system 0% cpu 0.019 total\r\n```","created_at":"2016-09-23T10:41:09Z","updated_at":"2016-09-23T10:41:09Z","html_url":"https://github.com/neomake/neomake/pull/616#discussion_r80221230","pull_request_url":"https://api.github.com/repos/neomake/neomake/pulls/616","_links":{"self":{"href":"https://api.github.com/repos/neomake/neomake/pulls/comments/80221230"},"html":{"href":"https://github.com/neomake/neomake/pull/616#discussion_r80221230"},"pull_request":{"href":"https://api.github.com/repos/neomake/neomake/pulls/616"}}},"pull_request":{"url":"https://api.github.com/repos/neomake/neomake/pulls/616","id":85983080,"html_url":"https://github.com/neomake/neomake/pull/616","diff_url":"https://github.com/neomake/neomake/pull/616.diff","patch_url":"https://github.com/neomake/neomake/pull/616.patch","issue_url":"https://api.github.com/repos/neomake/neomake/issues/616","number":616,"state":"open","locked":false,"title":"Rust clippy maker","user":{"login":"Eisfreak7","id":3799330,"avatar_url":"https://avatars.githubusercontent.com/u/3799330?v=3","gravatar_id":"","url":"https://api.github.com/users/Eisfreak7","html_url":"https://github.com/Eisfreak7","followers_url":"https://api.github.com/users/Eisfreak7/followers","following_url":"https://api.github.com/users/Eisfreak7/following{/other_user}","gists_url":"https://api.github.com/users/Eisfreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/Eisfreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eisfreak7/subscriptions","organizations_url":"https://api.github.com/users/Eisfreak7/orgs","repos_url":"https://api.github.com/users/Eisfreak7/repos","events_url":"https://api.github.com/users/Eisfreak7/events{/privacy}","received_events_url":"https://api.github.com/users/Eisfreak7/received_events","type":"User","site_admin":false},"body":"Clippy is a rust linter that has more lints than standard rustc (`Neomake! clippy` will show the rustc/cargo lints as well as the clippy ones).\r\nSince clippy integrates with the rust compiler, it has the same errorformat (I copied the error format from #613). Clippy needs a nightly compiler to work. Since it is the most convenient way, `rustup` (manages multiple rust installations) is used if available to run clippy with nightly rust, while other compilations can use stable rust.\r\n\r\nI also added cargo and clippy to the Readme, with the annotation that `Neomake!` needs to be used (wasn't obvious for me).","created_at":"2016-09-20T14:10:32Z","updated_at":"2016-09-23T10:41:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6a6fb679b37c7ea4502135d81adea4f6ae9292f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/neomake/neomake/pulls/616/commits","review_comments_url":"https://api.github.com/repos/neomake/neomake/pulls/616/comments","review_comment_url":"https://api.github.com/repos/neomake/neomake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neomake/neomake/issues/616/comments","statuses_url":"https://api.github.com/repos/neomake/neomake/statuses/3fa0786509bac952e813813ff6fbb7447be0c753","head":{"label":"Eisfreak7:rust-clippy","ref":"rust-clippy","sha":"3fa0786509bac952e813813ff6fbb7447be0c753","user":{"login":"Eisfreak7","id":3799330,"avatar_url":"https://avatars.githubusercontent.com/u/3799330?v=3","gravatar_id":"","url":"https://api.github.com/users/Eisfreak7","html_url":"https://github.com/Eisfreak7","followers_url":"https://api.github.com/users/Eisfreak7/followers","following_url":"https://api.github.com/users/Eisfreak7/following{/other_user}","gists_url":"https://api.github.com/users/Eisfreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/Eisfreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eisfreak7/subscriptions","organizations_url":"https://api.github.com/users/Eisfreak7/orgs","repos_url":"https://api.github.com/users/Eisfreak7/repos","events_url":"https://api.github.com/users/Eisfreak7/events{/privacy}","received_events_url":"https://api.github.com/users/Eisfreak7/received_events","type":"User","site_admin":false},"repo":{"id":68717664,"name":"neomake","full_name":"Eisfreak7/neomake","owner":{"login":"Eisfreak7","id":3799330,"avatar_url":"https://avatars.githubusercontent.com/u/3799330?v=3","gravatar_id":"","url":"https://api.github.com/users/Eisfreak7","html_url":"https://github.com/Eisfreak7","followers_url":"https://api.github.com/users/Eisfreak7/followers","following_url":"https://api.github.com/users/Eisfreak7/following{/other_user}","gists_url":"https://api.github.com/users/Eisfreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/Eisfreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eisfreak7/subscriptions","organizations_url":"https://api.github.com/users/Eisfreak7/orgs","repos_url":"https://api.github.com/users/Eisfreak7/repos","events_url":"https://api.github.com/users/Eisfreak7/events{/privacy}","received_events_url":"https://api.github.com/users/Eisfreak7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eisfreak7/neomake","description":"A plugin for asynchronous :make using Neovim's job-control functionality","fork":true,"url":"https://api.github.com/repos/Eisfreak7/neomake","forks_url":"https://api.github.com/repos/Eisfreak7/neomake/forks","keys_url":"https://api.github.com/repos/Eisfreak7/neomake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eisfreak7/neomake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eisfreak7/neomake/teams","hooks_url":"https://api.github.com/repos/Eisfreak7/neomake/hooks","issue_events_url":"https://api.github.com/repos/Eisfreak7/neomake/issues/events{/number}","events_url":"https://api.github.com/repos/Eisfreak7/neomake/events","assignees_url":"https://api.github.com/repos/Eisfreak7/neomake/assignees{/user}","branches_url":"https://api.github.com/repos/Eisfreak7/neomake/branches{/branch}","tags_url":"https://api.github.com/repos/Eisfreak7/neomake/tags","blobs_url":"https://api.github.com/repos/Eisfreak7/neomake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eisfreak7/neomake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eisfreak7/neomake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eisfreak7/neomake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eisfreak7/neomake/statuses/{sha}","languages_url":"https://api.github.com/repos/Eisfreak7/neomake/languages","stargazers_url":"https://api.github.com/repos/Eisfreak7/neomake/stargazers","contributors_url":"https://api.github.com/repos/Eisfreak7/neomake/contributors","subscribers_url":"https://api.github.com/repos/Eisfreak7/neomake/subscribers","subscription_url":"https://api.github.com/repos/Eisfreak7/neomake/subscription","commits_url":"https://api.github.com/repos/Eisfreak7/neomake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eisfreak7/neomake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eisfreak7/neomake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eisfreak7/neomake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eisfreak7/neomake/contents/{+path}","compare_url":"https://api.github.com/repos/Eisfreak7/neomake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eisfreak7/neomake/merges","archive_url":"https://api.github.com/repos/Eisfreak7/neomake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eisfreak7/neomake/downloads","issues_url":"https://api.github.com/repos/Eisfreak7/neomake/issues{/number}","pulls_url":"https://api.github.com/repos/Eisfreak7/neomake/pulls{/number}","milestones_url":"https://api.github.com/repos/Eisfreak7/neomake/milestones{/number}","notifications_url":"https://api.github.com/repos/Eisfreak7/neomake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eisfreak7/neomake/labels{/name}","releases_url":"https://api.github.com/repos/Eisfreak7/neomake/releases{/id}","deployments_url":"https://api.github.com/repos/Eisfreak7/neomake/deployments","created_at":"2016-09-20T14:01:58Z","updated_at":"2016-09-20T14:01:59Z","pushed_at":"2016-09-23T10:32:39Z","git_url":"git://github.com/Eisfreak7/neomake.git","ssh_url":"git@github.com:Eisfreak7/neomake.git","clone_url":"https://github.com/Eisfreak7/neomake.git","svn_url":"https://github.com/Eisfreak7/neomake","homepage":"","size":599,"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":"neomake:master","ref":"master","sha":"babc3b1235850fe6d7af94846a5cd343957f8bd7","user":{"login":"neomake","id":19256388,"avatar_url":"https://avatars.githubusercontent.com/u/19256388?v=3","gravatar_id":"","url":"https://api.github.com/users/neomake","html_url":"https://github.com/neomake","followers_url":"https://api.github.com/users/neomake/followers","following_url":"https://api.github.com/users/neomake/following{/other_user}","gists_url":"https://api.github.com/users/neomake/gists{/gist_id}","starred_url":"https://api.github.com/users/neomake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomake/subscriptions","organizations_url":"https://api.github.com/users/neomake/orgs","repos_url":"https://api.github.com/users/neomake/repos","events_url":"https://api.github.com/users/neomake/events{/privacy}","received_events_url":"https://api.github.com/users/neomake/received_events","type":"Organization","site_admin":false},"repo":{"id":26522697,"name":"neomake","full_name":"neomake/neomake","owner":{"login":"neomake","id":19256388,"avatar_url":"https://avatars.githubusercontent.com/u/19256388?v=3","gravatar_id":"","url":"https://api.github.com/users/neomake","html_url":"https://github.com/neomake","followers_url":"https://api.github.com/users/neomake/followers","following_url":"https://api.github.com/users/neomake/following{/other_user}","gists_url":"https://api.github.com/users/neomake/gists{/gist_id}","starred_url":"https://api.github.com/users/neomake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomake/subscriptions","organizations_url":"https://api.github.com/users/neomake/orgs","repos_url":"https://api.github.com/users/neomake/repos","events_url":"https://api.github.com/users/neomake/events{/privacy}","received_events_url":"https://api.github.com/users/neomake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neomake/neomake","description":"A plugin for asynchronous :make using Neovim's job-control functionality","fork":false,"url":"https://api.github.com/repos/neomake/neomake","forks_url":"https://api.github.com/repos/neomake/neomake/forks","keys_url":"https://api.github.com/repos/neomake/neomake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neomake/neomake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neomake/neomake/teams","hooks_url":"https://api.github.com/repos/neomake/neomake/hooks","issue_events_url":"https://api.github.com/repos/neomake/neomake/issues/events{/number}","events_url":"https://api.github.com/repos/neomake/neomake/events","assignees_url":"https://api.github.com/repos/neomake/neomake/assignees{/user}","branches_url":"https://api.github.com/repos/neomake/neomake/branches{/branch}","tags_url":"https://api.github.com/repos/neomake/neomake/tags","blobs_url":"https://api.github.com/repos/neomake/neomake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neomake/neomake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neomake/neomake/git/refs{/sha}","trees_url":"https://api.github.com/repos/neomake/neomake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neomake/neomake/statuses/{sha}","languages_url":"https://api.github.com/repos/neomake/neomake/languages","stargazers_url":"https://api.github.com/repos/neomake/neomake/stargazers","contributors_url":"https://api.github.com/repos/neomake/neomake/contributors","subscribers_url":"https://api.github.com/repos/neomake/neomake/subscribers","subscription_url":"https://api.github.com/repos/neomake/neomake/subscription","commits_url":"https://api.github.com/repos/neomake/neomake/commits{/sha}","git_commits_url":"https://api.github.com/repos/neomake/neomake/git/commits{/sha}","comments_url":"https://api.github.com/repos/neomake/neomake/comments{/number}","issue_comment_url":"https://api.github.com/repos/neomake/neomake/issues/comments{/number}","contents_url":"https://api.github.com/repos/neomake/neomake/contents/{+path}","compare_url":"https://api.github.com/repos/neomake/neomake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neomake/neomake/merges","archive_url":"https://api.github.com/repos/neomake/neomake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neomake/neomake/downloads","issues_url":"https://api.github.com/repos/neomake/neomake/issues{/number}","pulls_url":"https://api.github.com/repos/neomake/neomake/pulls{/number}","milestones_url":"https://api.github.com/repos/neomake/neomake/milestones{/number}","notifications_url":"https://api.github.com/repos/neomake/neomake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neomake/neomake/labels{/name}","releases_url":"https://api.github.com/repos/neomake/neomake/releases{/id}","deployments_url":"https://api.github.com/repos/neomake/neomake/deployments","created_at":"2014-11-12T06:34:12Z","updated_at":"2016-09-23T08:26:49Z","pushed_at":"2016-09-23T10:32:40Z","git_url":"git://github.com/neomake/neomake.git","ssh_url":"git@github.com:neomake/neomake.git","clone_url":"https://github.com/neomake/neomake.git","svn_url":"https://github.com/neomake/neomake","homepage":"","size":926,"stargazers_count":967,"watchers_count":967,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":155,"forks":199,"open_issues":155,"watchers":967,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neomake/neomake/pulls/616"},"html":{"href":"https://github.com/neomake/neomake/pull/616"},"issue":{"href":"https://api.github.com/repos/neomake/neomake/issues/616"},"comments":{"href":"https://api.github.com/repos/neomake/neomake/issues/616/comments"},"review_comments":{"href":"https://api.github.com/repos/neomake/neomake/pulls/616/comments"},"review_comment":{"href":"https://api.github.com/repos/neomake/neomake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neomake/neomake/pulls/616/commits"},"statuses":{"href":"https://api.github.com/repos/neomake/neomake/statuses/3fa0786509bac952e813813ff6fbb7447be0c753"}}}}
{"actor":{"display_login":"Eisfreak7"}}