{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28","id":31372040,"html_url":"https://github.com/vim-erlang/vim-erlang-runtime/pull/28","diff_url":"https://github.com/vim-erlang/vim-erlang-runtime/pull/28.diff","patch_url":"https://github.com/vim-erlang/vim-erlang-runtime/pull/28.patch","issue_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/28","number":28,"state":"closed","locked":false,"title":"Indent after a line with trailing =","user":{"login":"evnu","id":224554,"avatar_url":"https://avatars.githubusercontent.com/u/224554?v=3","gravatar_id":"","url":"https://api.github.com/users/evnu","html_url":"https://github.com/evnu","followers_url":"https://api.github.com/users/evnu/followers","following_url":"https://api.github.com/users/evnu/following{/other_user}","gists_url":"https://api.github.com/users/evnu/gists{/gist_id}","starred_url":"https://api.github.com/users/evnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evnu/subscriptions","organizations_url":"https://api.github.com/users/evnu/orgs","repos_url":"https://api.github.com/users/evnu/repos","events_url":"https://api.github.com/users/evnu/events{/privacy}","received_events_url":"https://api.github.com/users/evnu/received_events","type":"User","site_admin":false},"body":"In OTP, indentation after `=` is handled similar to this example:\r\n\r\n    f(X) ->\r\n        MyVariable =\r\n            case X of\r\n                true -> ok;\r\n                false -> still_ok\r\n            end,\r\n        MyVariable.\r\n\r\nThis PR implements indentation after a trailing `=` (with possible whitespace). When a trailing `=` is encountered, the following line is indented by one shiftwidth of the previous line.\r\n\r\nI chose to implement this nearby the implementation of handling comments, as I guessed that this would be the proper way to do this. If the logic should be placed somewhere else instead, please let me know.\r\n","created_at":"2015-03-17T19:59:55Z","updated_at":"2015-03-21T11:03:54Z","closed_at":"2015-03-21T11:03:54Z","merged_at":null,"merge_commit_sha":"d98372d2423c90f51139860db64daf42f080bd09","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28/commits","review_comments_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28/comments","review_comment_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/28/comments","statuses_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/statuses/8cb2947535d6dd1d318ca43997632a7f14b0485a","head":{"label":"evnu:indent_after_equal_based_on_master","ref":"indent_after_equal_based_on_master","sha":"8cb2947535d6dd1d318ca43997632a7f14b0485a","user":{"login":"evnu","id":224554,"avatar_url":"https://avatars.githubusercontent.com/u/224554?v=3","gravatar_id":"","url":"https://api.github.com/users/evnu","html_url":"https://github.com/evnu","followers_url":"https://api.github.com/users/evnu/followers","following_url":"https://api.github.com/users/evnu/following{/other_user}","gists_url":"https://api.github.com/users/evnu/gists{/gist_id}","starred_url":"https://api.github.com/users/evnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evnu/subscriptions","organizations_url":"https://api.github.com/users/evnu/orgs","repos_url":"https://api.github.com/users/evnu/repos","events_url":"https://api.github.com/users/evnu/events{/privacy}","received_events_url":"https://api.github.com/users/evnu/received_events","type":"User","site_admin":false},"repo":{"id":32409141,"name":"vim-erlang-runtime","full_name":"evnu/vim-erlang-runtime","owner":{"login":"evnu","id":224554,"avatar_url":"https://avatars.githubusercontent.com/u/224554?v=3","gravatar_id":"","url":"https://api.github.com/users/evnu","html_url":"https://github.com/evnu","followers_url":"https://api.github.com/users/evnu/followers","following_url":"https://api.github.com/users/evnu/following{/other_user}","gists_url":"https://api.github.com/users/evnu/gists{/gist_id}","starred_url":"https://api.github.com/users/evnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evnu/subscriptions","organizations_url":"https://api.github.com/users/evnu/orgs","repos_url":"https://api.github.com/users/evnu/repos","events_url":"https://api.github.com/users/evnu/events{/privacy}","received_events_url":"https://api.github.com/users/evnu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evnu/vim-erlang-runtime","description":"Erlang indentation and syntax for Vim","fork":true,"url":"https://api.github.com/repos/evnu/vim-erlang-runtime","forks_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/forks","keys_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/teams","hooks_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/hooks","issue_events_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/events","assignees_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/tags","blobs_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/languages","stargazers_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/stargazers","contributors_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/contributors","subscribers_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/subscribers","subscription_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/subscription","commits_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/merges","archive_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/downloads","issues_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/labels{/name}","releases_url":"https://api.github.com/repos/evnu/vim-erlang-runtime/releases{/id}","created_at":"2015-03-17T17:29:09Z","updated_at":"2015-03-17T19:47:13Z","pushed_at":"2015-03-18T22:47:14Z","git_url":"git://github.com/evnu/vim-erlang-runtime.git","ssh_url":"git@github.com:evnu/vim-erlang-runtime.git","clone_url":"https://github.com/evnu/vim-erlang-runtime.git","svn_url":"https://github.com/evnu/vim-erlang-runtime","homepage":"https://vim-erlang.github.io","size":361,"stargazers_count":0,"watchers_count":0,"language":"Erlang","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":"vim-erlang:master","ref":"master","sha":"304a8b654b1cb794e8d536c97d72b54f7b6a543a","user":{"login":"vim-erlang","id":4623784,"avatar_url":"https://avatars.githubusercontent.com/u/4623784?v=3","gravatar_id":"","url":"https://api.github.com/users/vim-erlang","html_url":"https://github.com/vim-erlang","followers_url":"https://api.github.com/users/vim-erlang/followers","following_url":"https://api.github.com/users/vim-erlang/following{/other_user}","gists_url":"https://api.github.com/users/vim-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/vim-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vim-erlang/subscriptions","organizations_url":"https://api.github.com/users/vim-erlang/orgs","repos_url":"https://api.github.com/users/vim-erlang/repos","events_url":"https://api.github.com/users/vim-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/vim-erlang/received_events","type":"Organization","site_admin":false},"repo":{"id":9259998,"name":"vim-erlang-runtime","full_name":"vim-erlang/vim-erlang-runtime","owner":{"login":"vim-erlang","id":4623784,"avatar_url":"https://avatars.githubusercontent.com/u/4623784?v=3","gravatar_id":"","url":"https://api.github.com/users/vim-erlang","html_url":"https://github.com/vim-erlang","followers_url":"https://api.github.com/users/vim-erlang/followers","following_url":"https://api.github.com/users/vim-erlang/following{/other_user}","gists_url":"https://api.github.com/users/vim-erlang/gists{/gist_id}","starred_url":"https://api.github.com/users/vim-erlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vim-erlang/subscriptions","organizations_url":"https://api.github.com/users/vim-erlang/orgs","repos_url":"https://api.github.com/users/vim-erlang/repos","events_url":"https://api.github.com/users/vim-erlang/events{/privacy}","received_events_url":"https://api.github.com/users/vim-erlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vim-erlang/vim-erlang-runtime","description":"Erlang indentation and syntax for Vim","fork":false,"url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime","forks_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/forks","keys_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/teams","hooks_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/hooks","issue_events_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/events{/number}","events_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/events","assignees_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/assignees{/user}","branches_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/branches{/branch}","tags_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/tags","blobs_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/languages","stargazers_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/stargazers","contributors_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/contributors","subscribers_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/subscribers","subscription_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/subscription","commits_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/contents/{+path}","compare_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/merges","archive_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/downloads","issues_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues{/number}","pulls_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/labels{/name}","releases_url":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/releases{/id}","created_at":"2013-04-06T13:02:20Z","updated_at":"2015-03-18T06:18:32Z","pushed_at":"2015-03-18T06:18:32Z","git_url":"git://github.com/vim-erlang/vim-erlang-runtime.git","ssh_url":"git@github.com:vim-erlang/vim-erlang-runtime.git","clone_url":"https://github.com/vim-erlang/vim-erlang-runtime.git","svn_url":"https://github.com/vim-erlang/vim-erlang-runtime","homepage":"https://vim-erlang.github.io","size":361,"stargazers_count":20,"watchers_count":20,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28"},"html":{"href":"https://github.com/vim-erlang/vim-erlang-runtime/pull/28"},"issue":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/28"},"comments":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/vim-erlang/vim-erlang-runtime/statuses/8cb2947535d6dd1d318ca43997632a7f14b0485a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":3,"additions":23,"deletions":0,"changed_files":1}}