{"action":"opened","number":822,"pull_request":{"url":"https://api.github.com/repos/fxbois/web-mode/pulls/822","id":96191389,"html_url":"https://github.com/fxbois/web-mode/pull/822","diff_url":"https://github.com/fxbois/web-mode/pull/822.diff","patch_url":"https://github.com/fxbois/web-mode/pull/822.patch","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/822","number":822,"state":"open","locked":false,"title":"fix: don't highlight \"(\" in \"(function\"","user":{"login":"bmalehorn","id":3344958,"avatar_url":"https://avatars.githubusercontent.com/u/3344958?v=3","gravatar_id":"","url":"https://api.github.com/users/bmalehorn","html_url":"https://github.com/bmalehorn","followers_url":"https://api.github.com/users/bmalehorn/followers","following_url":"https://api.github.com/users/bmalehorn/following{/other_user}","gists_url":"https://api.github.com/users/bmalehorn/gists{/gist_id}","starred_url":"https://api.github.com/users/bmalehorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmalehorn/subscriptions","organizations_url":"https://api.github.com/users/bmalehorn/orgs","repos_url":"https://api.github.com/users/bmalehorn/repos","events_url":"https://api.github.com/users/bmalehorn/events{/privacy}","received_events_url":"https://api.github.com/users/bmalehorn/received_events","type":"User","site_admin":false},"body":"This text:\r\n\r\n    (function\r\n\r\nIs selected by the regex like this:\r\n\r\n    |(|function|\r\n    | |        |\r\n    |1|<- 2  ->|\r\n    |          |\r\n    |<-  0   ->|\r\n\r\n    highlight = selection 0\r\n\r\nThat would highlight the \"(\" as well. This happens rather often with\r\nanonymous functions, \"a.each(function(e) { ... })\". Instead, only\r\nhighlight selection 2, the keyword itself.\r\n\r\n---\r\n\r\nBefore:\r\n![before](https://cloud.githubusercontent.com/assets/3344958/20816893/909e9b5c-b7d9-11e6-999c-9370cbc08868.png)\r\n\r\nAfter:\r\n![after](https://cloud.githubusercontent.com/assets/3344958/20816896/95bf6454-b7d9-11e6-97ed-c2bd6f5cefb8.png)\r\n\r\n","created_at":"2016-12-01T23:20:57Z","updated_at":"2016-12-01T23:20:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37ae863828a3c0f1fe112a7b9cfbc2b9178607c3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fxbois/web-mode/pulls/822/commits","review_comments_url":"https://api.github.com/repos/fxbois/web-mode/pulls/822/comments","review_comment_url":"https://api.github.com/repos/fxbois/web-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/822/comments","statuses_url":"https://api.github.com/repos/fxbois/web-mode/statuses/2e50b73e1d86f2ae465ccddd2f48e03b3ec23598","head":{"label":"bmalehorn:paren-function","ref":"paren-function","sha":"2e50b73e1d86f2ae465ccddd2f48e03b3ec23598","user":{"login":"bmalehorn","id":3344958,"avatar_url":"https://avatars.githubusercontent.com/u/3344958?v=3","gravatar_id":"","url":"https://api.github.com/users/bmalehorn","html_url":"https://github.com/bmalehorn","followers_url":"https://api.github.com/users/bmalehorn/followers","following_url":"https://api.github.com/users/bmalehorn/following{/other_user}","gists_url":"https://api.github.com/users/bmalehorn/gists{/gist_id}","starred_url":"https://api.github.com/users/bmalehorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmalehorn/subscriptions","organizations_url":"https://api.github.com/users/bmalehorn/orgs","repos_url":"https://api.github.com/users/bmalehorn/repos","events_url":"https://api.github.com/users/bmalehorn/events{/privacy}","received_events_url":"https://api.github.com/users/bmalehorn/received_events","type":"User","site_admin":false},"repo":{"id":75341301,"name":"web-mode","full_name":"bmalehorn/web-mode","owner":{"login":"bmalehorn","id":3344958,"avatar_url":"https://avatars.githubusercontent.com/u/3344958?v=3","gravatar_id":"","url":"https://api.github.com/users/bmalehorn","html_url":"https://github.com/bmalehorn","followers_url":"https://api.github.com/users/bmalehorn/followers","following_url":"https://api.github.com/users/bmalehorn/following{/other_user}","gists_url":"https://api.github.com/users/bmalehorn/gists{/gist_id}","starred_url":"https://api.github.com/users/bmalehorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmalehorn/subscriptions","organizations_url":"https://api.github.com/users/bmalehorn/orgs","repos_url":"https://api.github.com/users/bmalehorn/repos","events_url":"https://api.github.com/users/bmalehorn/events{/privacy}","received_events_url":"https://api.github.com/users/bmalehorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmalehorn/web-mode","description":"web template editing mode for emacs","fork":true,"url":"https://api.github.com/repos/bmalehorn/web-mode","forks_url":"https://api.github.com/repos/bmalehorn/web-mode/forks","keys_url":"https://api.github.com/repos/bmalehorn/web-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmalehorn/web-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmalehorn/web-mode/teams","hooks_url":"https://api.github.com/repos/bmalehorn/web-mode/hooks","issue_events_url":"https://api.github.com/repos/bmalehorn/web-mode/issues/events{/number}","events_url":"https://api.github.com/repos/bmalehorn/web-mode/events","assignees_url":"https://api.github.com/repos/bmalehorn/web-mode/assignees{/user}","branches_url":"https://api.github.com/repos/bmalehorn/web-mode/branches{/branch}","tags_url":"https://api.github.com/repos/bmalehorn/web-mode/tags","blobs_url":"https://api.github.com/repos/bmalehorn/web-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmalehorn/web-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmalehorn/web-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmalehorn/web-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmalehorn/web-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/bmalehorn/web-mode/languages","stargazers_url":"https://api.github.com/repos/bmalehorn/web-mode/stargazers","contributors_url":"https://api.github.com/repos/bmalehorn/web-mode/contributors","subscribers_url":"https://api.github.com/repos/bmalehorn/web-mode/subscribers","subscription_url":"https://api.github.com/repos/bmalehorn/web-mode/subscription","commits_url":"https://api.github.com/repos/bmalehorn/web-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmalehorn/web-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmalehorn/web-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmalehorn/web-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmalehorn/web-mode/contents/{+path}","compare_url":"https://api.github.com/repos/bmalehorn/web-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmalehorn/web-mode/merges","archive_url":"https://api.github.com/repos/bmalehorn/web-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmalehorn/web-mode/downloads","issues_url":"https://api.github.com/repos/bmalehorn/web-mode/issues{/number}","pulls_url":"https://api.github.com/repos/bmalehorn/web-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/bmalehorn/web-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/bmalehorn/web-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmalehorn/web-mode/labels{/name}","releases_url":"https://api.github.com/repos/bmalehorn/web-mode/releases{/id}","deployments_url":"https://api.github.com/repos/bmalehorn/web-mode/deployments","created_at":"2016-12-01T23:15:36Z","updated_at":"2016-12-01T23:15:37Z","pushed_at":"2016-12-01T23:18:37Z","git_url":"git://github.com/bmalehorn/web-mode.git","ssh_url":"git@github.com:bmalehorn/web-mode.git","clone_url":"https://github.com/bmalehorn/web-mode.git","svn_url":"https://github.com/bmalehorn/web-mode","homepage":"http://web-mode.org","size":6920,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"fxbois:master","ref":"master","sha":"807427fe983b162732c23dd41a830bc13764bb45","user":{"login":"fxbois","id":959622,"avatar_url":"https://avatars.githubusercontent.com/u/959622?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbois","html_url":"https://github.com/fxbois","followers_url":"https://api.github.com/users/fxbois/followers","following_url":"https://api.github.com/users/fxbois/following{/other_user}","gists_url":"https://api.github.com/users/fxbois/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbois/subscriptions","organizations_url":"https://api.github.com/users/fxbois/orgs","repos_url":"https://api.github.com/users/fxbois/repos","events_url":"https://api.github.com/users/fxbois/events{/privacy}","received_events_url":"https://api.github.com/users/fxbois/received_events","type":"User","site_admin":false},"repo":{"id":4693675,"name":"web-mode","full_name":"fxbois/web-mode","owner":{"login":"fxbois","id":959622,"avatar_url":"https://avatars.githubusercontent.com/u/959622?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbois","html_url":"https://github.com/fxbois","followers_url":"https://api.github.com/users/fxbois/followers","following_url":"https://api.github.com/users/fxbois/following{/other_user}","gists_url":"https://api.github.com/users/fxbois/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbois/subscriptions","organizations_url":"https://api.github.com/users/fxbois/orgs","repos_url":"https://api.github.com/users/fxbois/repos","events_url":"https://api.github.com/users/fxbois/events{/privacy}","received_events_url":"https://api.github.com/users/fxbois/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fxbois/web-mode","description":"web template editing mode for emacs","fork":false,"url":"https://api.github.com/repos/fxbois/web-mode","forks_url":"https://api.github.com/repos/fxbois/web-mode/forks","keys_url":"https://api.github.com/repos/fxbois/web-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fxbois/web-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fxbois/web-mode/teams","hooks_url":"https://api.github.com/repos/fxbois/web-mode/hooks","issue_events_url":"https://api.github.com/repos/fxbois/web-mode/issues/events{/number}","events_url":"https://api.github.com/repos/fxbois/web-mode/events","assignees_url":"https://api.github.com/repos/fxbois/web-mode/assignees{/user}","branches_url":"https://api.github.com/repos/fxbois/web-mode/branches{/branch}","tags_url":"https://api.github.com/repos/fxbois/web-mode/tags","blobs_url":"https://api.github.com/repos/fxbois/web-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fxbois/web-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fxbois/web-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/fxbois/web-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fxbois/web-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/fxbois/web-mode/languages","stargazers_url":"https://api.github.com/repos/fxbois/web-mode/stargazers","contributors_url":"https://api.github.com/repos/fxbois/web-mode/contributors","subscribers_url":"https://api.github.com/repos/fxbois/web-mode/subscribers","subscription_url":"https://api.github.com/repos/fxbois/web-mode/subscription","commits_url":"https://api.github.com/repos/fxbois/web-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/fxbois/web-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/fxbois/web-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/fxbois/web-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/fxbois/web-mode/contents/{+path}","compare_url":"https://api.github.com/repos/fxbois/web-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fxbois/web-mode/merges","archive_url":"https://api.github.com/repos/fxbois/web-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fxbois/web-mode/downloads","issues_url":"https://api.github.com/repos/fxbois/web-mode/issues{/number}","pulls_url":"https://api.github.com/repos/fxbois/web-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/fxbois/web-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/fxbois/web-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fxbois/web-mode/labels{/name}","releases_url":"https://api.github.com/repos/fxbois/web-mode/releases{/id}","deployments_url":"https://api.github.com/repos/fxbois/web-mode/deployments","created_at":"2012-06-17T17:57:15Z","updated_at":"2016-12-01T14:20:01Z","pushed_at":"2016-12-01T23:20:57Z","git_url":"git://github.com/fxbois/web-mode.git","ssh_url":"git@github.com:fxbois/web-mode.git","clone_url":"https://github.com/fxbois/web-mode.git","svn_url":"https://github.com/fxbois/web-mode","homepage":"http://web-mode.org","size":6920,"stargazers_count":997,"watchers_count":997,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":153,"mirror_url":null,"open_issues_count":21,"forks":153,"open_issues":21,"watchers":997,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fxbois/web-mode/pulls/822"},"html":{"href":"https://github.com/fxbois/web-mode/pull/822"},"issue":{"href":"https://api.github.com/repos/fxbois/web-mode/issues/822"},"comments":{"href":"https://api.github.com/repos/fxbois/web-mode/issues/822/comments"},"review_comments":{"href":"https://api.github.com/repos/fxbois/web-mode/pulls/822/comments"},"review_comment":{"href":"https://api.github.com/repos/fxbois/web-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fxbois/web-mode/pulls/822/commits"},"statuses":{"href":"https://api.github.com/repos/fxbois/web-mode/statuses/2e50b73e1d86f2ae465ccddd2f48e03b3ec23598"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"bmalehorn"}}