{"action":"created","comment":{"url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/comments/27162207","id":27162207,"diff_hunk":"@@ -225,7 +225,10 @@\n              (looking-at \"[ \\n\\t]+[.?:]\")\n              ;; Operators placed on the second line in multi-line expression\n              ;; Should respect here possible comments strict before the linebreak\n-             (looking-at (concat \"\\\\(\\/\\/.*\\\\)?\\n[[:space:]]*\" swift-smie--operators-regexp))\n+             (and (looking-at\n+                   (concat \"\\\\(\\/\\/.*\\\\)?\\n[[:space:]]*\" swift-smie--operators-regexp))\n+                  (not (looking-at\n+                        (concat \"\\\\(\\/\\/.*\\\\)?\\n[[:space:]]*\" \"//\"))))","path":"swift-mode.el","position":8,"original_position":8,"commit_id":"4ae6cc2e4ffebce9070f0fa96dacc8ecf7661e92","original_commit_id":"4ae6cc2e4ffebce9070f0fa96dacc8ecf7661e92","user":{"login":"ap4y","id":673861,"avatar_url":"https://avatars.githubusercontent.com/u/673861?v=3","gravatar_id":"","url":"https://api.github.com/users/ap4y","html_url":"https://github.com/ap4y","followers_url":"https://api.github.com/users/ap4y/followers","following_url":"https://api.github.com/users/ap4y/following{/other_user}","gists_url":"https://api.github.com/users/ap4y/gists{/gist_id}","starred_url":"https://api.github.com/users/ap4y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap4y/subscriptions","organizations_url":"https://api.github.com/users/ap4y/orgs","repos_url":"https://api.github.com/users/ap4y/repos","events_url":"https://api.github.com/users/ap4y/events{/privacy}","received_events_url":"https://api.github.com/users/ap4y/received_events","type":"User","site_admin":false},"body":"I think string concatenation here is unnecessary. Also I think `not` branch here can be probably included into positive lookup regex. What do you think?  ","created_at":"2015-03-25T20:26:40Z","updated_at":"2015-03-25T20:26:40Z","html_url":"https://github.com/chrisbarrett/swift-mode/pull/88#discussion_r27162207","pull_request_url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/comments/27162207"},"html":{"href":"https://github.com/chrisbarrett/swift-mode/pull/88#discussion_r27162207"},"pull_request":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88","id":31923582,"html_url":"https://github.com/chrisbarrett/swift-mode/pull/88","diff_url":"https://github.com/chrisbarrett/swift-mode/pull/88.diff","patch_url":"https://github.com/chrisbarrett/swift-mode/pull/88.patch","issue_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/88","number":88,"state":"open","locked":false,"title":"Fix indent when after comment","user":{"login":"uk-ar","id":235329,"avatar_url":"https://avatars.githubusercontent.com/u/235329?v=3","gravatar_id":"","url":"https://api.github.com/users/uk-ar","html_url":"https://github.com/uk-ar","followers_url":"https://api.github.com/users/uk-ar/followers","following_url":"https://api.github.com/users/uk-ar/following{/other_user}","gists_url":"https://api.github.com/users/uk-ar/gists{/gist_id}","starred_url":"https://api.github.com/users/uk-ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uk-ar/subscriptions","organizations_url":"https://api.github.com/users/uk-ar/orgs","repos_url":"https://api.github.com/users/uk-ar/repos","events_url":"https://api.github.com/users/uk-ar/events{/privacy}","received_events_url":"https://api.github.com/users/uk-ar/received_events","type":"User","site_admin":false},"body":"I fixed indent after comment.\r\n- expected result:\r\n```swift\r\nfunc foo() {\r\n    foo()\r\n    //\r\n    |foo()\r\n}\r\n```\r\n- actual:\r\n```swift\r\nfunc foo() {\r\n    foo()\r\n    //\r\n        |foo()\r\n}\r\n```","created_at":"2015-03-25T13:53:14Z","updated_at":"2015-03-25T20:26:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b42d1f68222fbea692f442d8a930e106a8d0864c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88/commits","review_comments_url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88/comments","review_comment_url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/88/comments","statuses_url":"https://api.github.com/repos/chrisbarrett/swift-mode/statuses/4ae6cc2e4ffebce9070f0fa96dacc8ecf7661e92","head":{"label":"uk-ar:fix-indent-after-comment","ref":"fix-indent-after-comment","sha":"4ae6cc2e4ffebce9070f0fa96dacc8ecf7661e92","user":{"login":"uk-ar","id":235329,"avatar_url":"https://avatars.githubusercontent.com/u/235329?v=3","gravatar_id":"","url":"https://api.github.com/users/uk-ar","html_url":"https://github.com/uk-ar","followers_url":"https://api.github.com/users/uk-ar/followers","following_url":"https://api.github.com/users/uk-ar/following{/other_user}","gists_url":"https://api.github.com/users/uk-ar/gists{/gist_id}","starred_url":"https://api.github.com/users/uk-ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uk-ar/subscriptions","organizations_url":"https://api.github.com/users/uk-ar/orgs","repos_url":"https://api.github.com/users/uk-ar/repos","events_url":"https://api.github.com/users/uk-ar/events{/privacy}","received_events_url":"https://api.github.com/users/uk-ar/received_events","type":"User","site_admin":false},"repo":{"id":32810583,"name":"swift-mode","full_name":"uk-ar/swift-mode","owner":{"login":"uk-ar","id":235329,"avatar_url":"https://avatars.githubusercontent.com/u/235329?v=3","gravatar_id":"","url":"https://api.github.com/users/uk-ar","html_url":"https://github.com/uk-ar","followers_url":"https://api.github.com/users/uk-ar/followers","following_url":"https://api.github.com/users/uk-ar/following{/other_user}","gists_url":"https://api.github.com/users/uk-ar/gists{/gist_id}","starred_url":"https://api.github.com/users/uk-ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uk-ar/subscriptions","organizations_url":"https://api.github.com/users/uk-ar/orgs","repos_url":"https://api.github.com/users/uk-ar/repos","events_url":"https://api.github.com/users/uk-ar/events{/privacy}","received_events_url":"https://api.github.com/users/uk-ar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uk-ar/swift-mode","description":"Emacs support for Apple's Swift programming language.","fork":true,"url":"https://api.github.com/repos/uk-ar/swift-mode","forks_url":"https://api.github.com/repos/uk-ar/swift-mode/forks","keys_url":"https://api.github.com/repos/uk-ar/swift-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uk-ar/swift-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uk-ar/swift-mode/teams","hooks_url":"https://api.github.com/repos/uk-ar/swift-mode/hooks","issue_events_url":"https://api.github.com/repos/uk-ar/swift-mode/issues/events{/number}","events_url":"https://api.github.com/repos/uk-ar/swift-mode/events","assignees_url":"https://api.github.com/repos/uk-ar/swift-mode/assignees{/user}","branches_url":"https://api.github.com/repos/uk-ar/swift-mode/branches{/branch}","tags_url":"https://api.github.com/repos/uk-ar/swift-mode/tags","blobs_url":"https://api.github.com/repos/uk-ar/swift-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uk-ar/swift-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uk-ar/swift-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/uk-ar/swift-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uk-ar/swift-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/uk-ar/swift-mode/languages","stargazers_url":"https://api.github.com/repos/uk-ar/swift-mode/stargazers","contributors_url":"https://api.github.com/repos/uk-ar/swift-mode/contributors","subscribers_url":"https://api.github.com/repos/uk-ar/swift-mode/subscribers","subscription_url":"https://api.github.com/repos/uk-ar/swift-mode/subscription","commits_url":"https://api.github.com/repos/uk-ar/swift-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/uk-ar/swift-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/uk-ar/swift-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/uk-ar/swift-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/uk-ar/swift-mode/contents/{+path}","compare_url":"https://api.github.com/repos/uk-ar/swift-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uk-ar/swift-mode/merges","archive_url":"https://api.github.com/repos/uk-ar/swift-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uk-ar/swift-mode/downloads","issues_url":"https://api.github.com/repos/uk-ar/swift-mode/issues{/number}","pulls_url":"https://api.github.com/repos/uk-ar/swift-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/uk-ar/swift-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/uk-ar/swift-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uk-ar/swift-mode/labels{/name}","releases_url":"https://api.github.com/repos/uk-ar/swift-mode/releases{/id}","created_at":"2015-03-24T16:24:19Z","updated_at":"2015-03-24T16:24:20Z","pushed_at":"2015-03-24T16:44:50Z","git_url":"git://github.com/uk-ar/swift-mode.git","ssh_url":"git@github.com:uk-ar/swift-mode.git","clone_url":"https://github.com/uk-ar/swift-mode.git","svn_url":"https://github.com/uk-ar/swift-mode","homepage":"","size":780,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","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":"chrisbarrett:master","ref":"master","sha":"195d040921791722f4effb9690c721158421f6d7","user":{"login":"chrisbarrett","id":836504,"avatar_url":"https://avatars.githubusercontent.com/u/836504?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbarrett","html_url":"https://github.com/chrisbarrett","followers_url":"https://api.github.com/users/chrisbarrett/followers","following_url":"https://api.github.com/users/chrisbarrett/following{/other_user}","gists_url":"https://api.github.com/users/chrisbarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbarrett/subscriptions","organizations_url":"https://api.github.com/users/chrisbarrett/orgs","repos_url":"https://api.github.com/users/chrisbarrett/repos","events_url":"https://api.github.com/users/chrisbarrett/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbarrett/received_events","type":"User","site_admin":false},"repo":{"id":20443295,"name":"swift-mode","full_name":"chrisbarrett/swift-mode","owner":{"login":"chrisbarrett","id":836504,"avatar_url":"https://avatars.githubusercontent.com/u/836504?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbarrett","html_url":"https://github.com/chrisbarrett","followers_url":"https://api.github.com/users/chrisbarrett/followers","following_url":"https://api.github.com/users/chrisbarrett/following{/other_user}","gists_url":"https://api.github.com/users/chrisbarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbarrett/subscriptions","organizations_url":"https://api.github.com/users/chrisbarrett/orgs","repos_url":"https://api.github.com/users/chrisbarrett/repos","events_url":"https://api.github.com/users/chrisbarrett/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbarrett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisbarrett/swift-mode","description":"Emacs support for Apple's Swift programming language.","fork":false,"url":"https://api.github.com/repos/chrisbarrett/swift-mode","forks_url":"https://api.github.com/repos/chrisbarrett/swift-mode/forks","keys_url":"https://api.github.com/repos/chrisbarrett/swift-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisbarrett/swift-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisbarrett/swift-mode/teams","hooks_url":"https://api.github.com/repos/chrisbarrett/swift-mode/hooks","issue_events_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/events{/number}","events_url":"https://api.github.com/repos/chrisbarrett/swift-mode/events","assignees_url":"https://api.github.com/repos/chrisbarrett/swift-mode/assignees{/user}","branches_url":"https://api.github.com/repos/chrisbarrett/swift-mode/branches{/branch}","tags_url":"https://api.github.com/repos/chrisbarrett/swift-mode/tags","blobs_url":"https://api.github.com/repos/chrisbarrett/swift-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisbarrett/swift-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisbarrett/swift-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisbarrett/swift-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisbarrett/swift-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisbarrett/swift-mode/languages","stargazers_url":"https://api.github.com/repos/chrisbarrett/swift-mode/stargazers","contributors_url":"https://api.github.com/repos/chrisbarrett/swift-mode/contributors","subscribers_url":"https://api.github.com/repos/chrisbarrett/swift-mode/subscribers","subscription_url":"https://api.github.com/repos/chrisbarrett/swift-mode/subscription","commits_url":"https://api.github.com/repos/chrisbarrett/swift-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisbarrett/swift-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisbarrett/swift-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisbarrett/swift-mode/contents/{+path}","compare_url":"https://api.github.com/repos/chrisbarrett/swift-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisbarrett/swift-mode/merges","archive_url":"https://api.github.com/repos/chrisbarrett/swift-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisbarrett/swift-mode/downloads","issues_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues{/number}","pulls_url":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisbarrett/swift-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisbarrett/swift-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisbarrett/swift-mode/labels{/name}","releases_url":"https://api.github.com/repos/chrisbarrett/swift-mode/releases{/id}","created_at":"2014-06-03T13:17:03Z","updated_at":"2015-03-25T20:24:25Z","pushed_at":"2015-03-25T20:24:24Z","git_url":"git://github.com/chrisbarrett/swift-mode.git","ssh_url":"git@github.com:chrisbarrett/swift-mode.git","clone_url":"https://github.com/chrisbarrett/swift-mode.git","svn_url":"https://github.com/chrisbarrett/swift-mode","homepage":"","size":780,"stargazers_count":95,"watchers_count":95,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":13,"forks":16,"open_issues":13,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88"},"html":{"href":"https://github.com/chrisbarrett/swift-mode/pull/88"},"issue":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/88"},"comments":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/chrisbarrett/swift-mode/statuses/4ae6cc2e4ffebce9070f0fa96dacc8ecf7661e92"}}}}