{"action":"closed","issue":{"url":"https://api.github.com/repos/scalameta/scalafmt/issues/993","repository_url":"https://api.github.com/repos/scalameta/scalafmt","labels_url":"https://api.github.com/repos/scalameta/scalafmt/issues/993/labels{/name}","comments_url":"https://api.github.com/repos/scalameta/scalafmt/issues/993/comments","events_url":"https://api.github.com/repos/scalameta/scalafmt/issues/993/events","html_url":"https://github.com/scalameta/scalafmt/issues/993","id":240374509,"number":993,"title":"How do you disable val/var vertical alignment?","user":{"login":"alexflav23","id":1645142,"avatar_url":"https://avatars1.githubusercontent.com/u/1645142?v=3","gravatar_id":"","url":"https://api.github.com/users/alexflav23","html_url":"https://github.com/alexflav23","followers_url":"https://api.github.com/users/alexflav23/followers","following_url":"https://api.github.com/users/alexflav23/following{/other_user}","gists_url":"https://api.github.com/users/alexflav23/gists{/gist_id}","starred_url":"https://api.github.com/users/alexflav23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexflav23/subscriptions","organizations_url":"https://api.github.com/users/alexflav23/orgs","repos_url":"https://api.github.com/users/alexflav23/repos","events_url":"https://api.github.com/users/alexflav23/events{/privacy}","received_events_url":"https://api.github.com/users/alexflav23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-04T10:06:53Z","updated_at":"2017-07-09T13:05:11Z","closed_at":"2017-07-09T13:05:11Z","body":"This template is a guideline, not a strict requirement.\r\n- **Version**: Latest\r\n- **Integration**: CLI\r\n- **Configuration**:\r\n```\r\nstyle = defaultWithAlign\r\nmaxColumn = 120\r\n```\r\n\r\n## Steps\r\n\r\nI ran scalafmt like this:\r\n\r\n```bash\r\nscalafmt\r\n```\r\n\r\n## Problem\r\n\r\nScalafmt formats code like this. Github is interfering with the rendering here, at least on my browser. Definitions are vertically aligned, however I want to disable this behaviour.\r\n\r\n```scala\r\nval x            = 5\r\nval testinga = 10\r\n```\r\n\r\n## Expectation\r\n\r\nI would like the formatted output to look like this:\r\n```scala\r\nval x = 5\r\nval testinga = 10\r\n```\r\n\r\n## Notes\r\n\r\nHave not been able to find a suitable documentation, several options on the official page such as `treeCategory` in `align` are deemed invalid by the CLI.\r\n\r\nHow does one disable this dreadful behaviour?\r\n"}}
{"actor":{"display_login":"olafurpg"}}