GitHub PullRequestReviewCommentEvent at 2014-10-13 19:23:45
Repository: elixir-tmbundle
Actor: walkr
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/comments/18789268","id":18789268,"diff_hunk":"@@ -40,6 +40,25 @@\n \t\t\t<key>name</key>\n \t\t\t<string>meta.module.elixir</string>\n \t\t</dict>\n+        <dict>\n+            <key>captures</key>\n+            <dict>\n+                <key>1</key>\n+                <dict>\n+                    <key>name</key>\n+                    <string>keyword.control.function.elixir</string>\n+                </dict>\n+                <key>2</key>\n+                <dict>\n+                    <key>name</key>\n+                    <string>entity.name.type.function.elixir</string>\n+                </dict>\n+            </dict>\n+            <key>match</key>\n+            <string>^\\s*(defp?)\\s+(([A-Za-z_]\\w*\\s*(\\.)\\s*)*[A-Za-z_]\\w*)</string>","path":"Syntaxes/Elixir.tmLanguage","position":null,"original_position":19,"commit_id":"9e74ff6608b8bb4b1e7a06dc033c00d4cf39a43b","original_commit_id":"4dc5ef6caffb34c7160c67aacafb92249ec889f8","user":{"login":"walkr","id":5104850,"avatar_url":"https://avatars.githubusercontent.com/u/5104850?v=2","gravatar_id":"","url":"https://api.github.com/users/walkr","html_url":"https://github.com/walkr","followers_url":"https://api.github.com/users/walkr/followers","following_url":"https://api.github.com/users/walkr/following{/other_user}","gists_url":"https://api.github.com/users/walkr/gists{/gist_id}","starred_url":"https://api.github.com/users/walkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkr/subscriptions","organizations_url":"https://api.github.com/users/walkr/orgs","repos_url":"https://api.github.com/users/walkr/repos","events_url":"https://api.github.com/users/walkr/events{/privacy}","received_events_url":"https://api.github.com/users/walkr/received_events","type":"User","site_admin":false},"body":"Updated.","created_at":"2014-10-13T19:23:45Z","updated_at":"2014-10-13T19:23:45Z","html_url":"https://github.com/elixir-lang/elixir-tmbundle/pull/32#discussion_r18789268","pull_request_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/comments/18789268"},"html":{"href":"https://github.com/elixir-lang/elixir-tmbundle/pull/32#discussion_r18789268"},"pull_request":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32","id":22662009,"html_url":"https://github.com/elixir-lang/elixir-tmbundle/pull/32","diff_url":"https://github.com/elixir-lang/elixir-tmbundle/pull/32.diff","patch_url":"https://github.com/elixir-lang/elixir-tmbundle/pull/32.patch","issue_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/32","number":32,"state":"open","locked":false,"title":"Capture defp? as meta to get different coloring","user":{"login":"walkr","id":5104850,"avatar_url":"https://avatars.githubusercontent.com/u/5104850?v=2","gravatar_id":"","url":"https://api.github.com/users/walkr","html_url":"https://github.com/walkr","followers_url":"https://api.github.com/users/walkr/followers","following_url":"https://api.github.com/users/walkr/following{/other_user}","gists_url":"https://api.github.com/users/walkr/gists{/gist_id}","starred_url":"https://api.github.com/users/walkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkr/subscriptions","organizations_url":"https://api.github.com/users/walkr/orgs","repos_url":"https://api.github.com/users/walkr/repos","events_url":"https://api.github.com/users/walkr/events{/privacy}","received_events_url":"https://api.github.com/users/walkr/received_events","type":"User","site_admin":false},"body":"Capture `def` and `defp` as meta in the language syntax to get different coloring. This is consistent with\r\nhow other languages such as Erlang and Python for instance color function names in their definition blocks in Sublime.\r\n\r\nNote: I'm using a rather simplistic theme, so this might/might not affect other people.","created_at":"2014-10-13T18:04:55Z","updated_at":"2014-10-13T19:23:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61880ac05d09f683ed81954abf1c85d66fb4d9ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32/comments","review_comment_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/32/comments","statuses_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/statuses/9e74ff6608b8bb4b1e7a06dc033c00d4cf39a43b","head":{"label":"walkr:master","ref":"master","sha":"9e74ff6608b8bb4b1e7a06dc033c00d4cf39a43b","user":{"login":"walkr","id":5104850,"avatar_url":"https://avatars.githubusercontent.com/u/5104850?v=2","gravatar_id":"","url":"https://api.github.com/users/walkr","html_url":"https://github.com/walkr","followers_url":"https://api.github.com/users/walkr/followers","following_url":"https://api.github.com/users/walkr/following{/other_user}","gists_url":"https://api.github.com/users/walkr/gists{/gist_id}","starred_url":"https://api.github.com/users/walkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkr/subscriptions","organizations_url":"https://api.github.com/users/walkr/orgs","repos_url":"https://api.github.com/users/walkr/repos","events_url":"https://api.github.com/users/walkr/events{/privacy}","received_events_url":"https://api.github.com/users/walkr/received_events","type":"User","site_admin":false},"repo":{"id":25170409,"name":"elixir-tmbundle","full_name":"walkr/elixir-tmbundle","owner":{"login":"walkr","id":5104850,"avatar_url":"https://avatars.githubusercontent.com/u/5104850?v=2","gravatar_id":"","url":"https://api.github.com/users/walkr","html_url":"https://github.com/walkr","followers_url":"https://api.github.com/users/walkr/followers","following_url":"https://api.github.com/users/walkr/following{/other_user}","gists_url":"https://api.github.com/users/walkr/gists{/gist_id}","starred_url":"https://api.github.com/users/walkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkr/subscriptions","organizations_url":"https://api.github.com/users/walkr/orgs","repos_url":"https://api.github.com/users/walkr/repos","events_url":"https://api.github.com/users/walkr/events{/privacy}","received_events_url":"https://api.github.com/users/walkr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/walkr/elixir-tmbundle","description":"A TextMate Bundle for the Elixir programming language.","fork":true,"url":"https://api.github.com/repos/walkr/elixir-tmbundle","forks_url":"https://api.github.com/repos/walkr/elixir-tmbundle/forks","keys_url":"https://api.github.com/repos/walkr/elixir-tmbundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/walkr/elixir-tmbundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/walkr/elixir-tmbundle/teams","hooks_url":"https://api.github.com/repos/walkr/elixir-tmbundle/hooks","issue_events_url":"https://api.github.com/repos/walkr/elixir-tmbundle/issues/events{/number}","events_url":"https://api.github.com/repos/walkr/elixir-tmbundle/events","assignees_url":"https://api.github.com/repos/walkr/elixir-tmbundle/assignees{/user}","branches_url":"https://api.github.com/repos/walkr/elixir-tmbundle/branches{/branch}","tags_url":"https://api.github.com/repos/walkr/elixir-tmbundle/tags","blobs_url":"https://api.github.com/repos/walkr/elixir-tmbundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/walkr/elixir-tmbundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/walkr/elixir-tmbundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/walkr/elixir-tmbundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/walkr/elixir-tmbundle/statuses/{sha}","languages_url":"https://api.github.com/repos/walkr/elixir-tmbundle/languages","stargazers_url":"https://api.github.com/repos/walkr/elixir-tmbundle/stargazers","contributors_url":"https://api.github.com/repos/walkr/elixir-tmbundle/contributors","subscribers_url":"https://api.github.com/repos/walkr/elixir-tmbundle/subscribers","subscription_url":"https://api.github.com/repos/walkr/elixir-tmbundle/subscription","commits_url":"https://api.github.com/repos/walkr/elixir-tmbundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/walkr/elixir-tmbundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/walkr/elixir-tmbundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/walkr/elixir-tmbundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/walkr/elixir-tmbundle/contents/{+path}","compare_url":"https://api.github.com/repos/walkr/elixir-tmbundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/walkr/elixir-tmbundle/merges","archive_url":"https://api.github.com/repos/walkr/elixir-tmbundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/walkr/elixir-tmbundle/downloads","issues_url":"https://api.github.com/repos/walkr/elixir-tmbundle/issues{/number}","pulls_url":"https://api.github.com/repos/walkr/elixir-tmbundle/pulls{/number}","milestones_url":"https://api.github.com/repos/walkr/elixir-tmbundle/milestones{/number}","notifications_url":"https://api.github.com/repos/walkr/elixir-tmbundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/walkr/elixir-tmbundle/labels{/name}","releases_url":"https://api.github.com/repos/walkr/elixir-tmbundle/releases{/id}","created_at":"2014-10-13T17:54:17Z","updated_at":"2014-10-13T10:11:18Z","pushed_at":"2014-10-13T19:22:04Z","git_url":"git://github.com/walkr/elixir-tmbundle.git","ssh_url":"git@github.com:walkr/elixir-tmbundle.git","clone_url":"https://github.com/walkr/elixir-tmbundle.git","svn_url":"https://github.com/walkr/elixir-tmbundle","homepage":"https://github.com/elixir-lang/elixir-tmbundle","size":509,"stargazers_count":0,"watchers_count":0,"language":null,"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":"elixir-lang:master","ref":"master","sha":"dcf1fc125c81c904fae8dc91d483905bdb5d5f5d","user":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=2","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":1467845,"name":"elixir-tmbundle","full_name":"elixir-lang/elixir-tmbundle","owner":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=2","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-lang/elixir-tmbundle","description":"A TextMate Bundle for the Elixir programming language.","fork":false,"url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle","forks_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/forks","keys_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/teams","hooks_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/hooks","issue_events_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/events","assignees_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/tags","blobs_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/languages","stargazers_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/stargazers","contributors_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/contributors","subscribers_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/subscribers","subscription_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/subscription","commits_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/merges","archive_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/downloads","issues_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/labels{/name}","releases_url":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/releases{/id}","created_at":"2011-03-11T12:35:59Z","updated_at":"2014-10-13T18:33:59Z","pushed_at":"2014-09-14T12:29:17Z","git_url":"git://github.com/elixir-lang/elixir-tmbundle.git","ssh_url":"git@github.com:elixir-lang/elixir-tmbundle.git","clone_url":"https://github.com/elixir-lang/elixir-tmbundle.git","svn_url":"https://github.com/elixir-lang/elixir-tmbundle","homepage":"https://github.com/elixir-lang/elixir-tmbundle","size":509,"stargazers_count":55,"watchers_count":55,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":2,"forks":20,"open_issues":2,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32"},"html":{"href":"https://github.com/elixir-lang/elixir-tmbundle/pull/32"},"issue":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/32"},"comments":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/elixir-tmbundle/statuses/9e74ff6608b8bb4b1e7a06dc033c00d4cf39a43b"}}}}