{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/233","repository_url":"https://api.github.com/repos/chrisdone/hindent","labels_url":"https://api.github.com/repos/chrisdone/hindent/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/hindent/issues/233/comments","events_url":"https://api.github.com/repos/chrisdone/hindent/issues/233/events","html_url":"https://github.com/chrisdone/hindent/issues/233","id":173882621,"number":233,"title":"`deriving` keyword not aligned with pipe symbol for type declarations","user":{"login":"radupopescu","id":528669,"avatar_url":"https://avatars.githubusercontent.com/u/528669?v=3","gravatar_id":"","url":"https://api.github.com/users/radupopescu","html_url":"https://github.com/radupopescu","followers_url":"https://api.github.com/users/radupopescu/followers","following_url":"https://api.github.com/users/radupopescu/following{/other_user}","gists_url":"https://api.github.com/users/radupopescu/gists{/gist_id}","starred_url":"https://api.github.com/users/radupopescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radupopescu/subscriptions","organizations_url":"https://api.github.com/users/radupopescu/orgs","repos_url":"https://api.github.com/users/radupopescu/repos","events_url":"https://api.github.com/users/radupopescu/events{/privacy}","received_events_url":"https://api.github.com/users/radupopescu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrisdone/hindent/labels/component:%20hindent","name":"component: hindent","color":"bfdadc"},{"url":"https://api.github.com/repos/chrisdone/hindent/labels/priority:%20medium","name":"priority: medium","color":"fbca04"},{"url":"https://api.github.com/repos/chrisdone/hindent/labels/type:%20bug","name":"type: bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-29T21:56:21Z","updated_at":"2016-08-30T08:55:09Z","closed_at":"2016-08-30T08:47:22Z","body":"When I have a declaration for a sum type, deriving is aligned one space after the pipe. Ex:\r\n\r\n```haskell\r\ndata Stuffs\r\n    = Things\r\n    | This\r\n    | That\r\n     deriving (Show)\r\n```\r\n\r\nI'm not sure this is normal. The leading space is also inserted for declarations without pipes:\r\n\r\n```haskell\r\ndata Simple =\r\n    Simple\r\n     deriving (Show)\r\n```"},"comment":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/comments/243375757","html_url":"https://github.com/chrisdone/hindent/issues/233#issuecomment-243375757","issue_url":"https://api.github.com/repos/chrisdone/hindent/issues/233","id":243375757,"user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars.githubusercontent.com/u/11019?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T08:55:09Z","updated_at":"2016-08-30T08:55:09Z","body":"Had to update the tests -- we're switching over to 2-spaces by default. \r\n\r\nSee [the README](https://github.com/chrisdone/hindent#customization) if you'd like to specify 4 spaces."}}
{"actor":{"display_login":"chrisdone"}}