{"action":"closed","issue":{"url":"https://api.github.com/repos/rhysd/vim-crystal/issues/59","repository_url":"https://api.github.com/repos/rhysd/vim-crystal","labels_url":"https://api.github.com/repos/rhysd/vim-crystal/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/rhysd/vim-crystal/issues/59/comments","events_url":"https://api.github.com/repos/rhysd/vim-crystal/issues/59/events","html_url":"https://github.com/rhysd/vim-crystal/issues/59","id":394754237,"node_id":"MDU6SXNzdWUzOTQ3NTQyMzc=","number":59,"title":"Incorrect indentation for private classes","user":{"login":"Helloman892","id":1565516,"node_id":"MDQ6VXNlcjE1NjU1MTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1565516?v=4","gravatar_id":"","url":"https://api.github.com/users/Helloman892","html_url":"https://github.com/Helloman892","followers_url":"https://api.github.com/users/Helloman892/followers","following_url":"https://api.github.com/users/Helloman892/following{/other_user}","gists_url":"https://api.github.com/users/Helloman892/gists{/gist_id}","starred_url":"https://api.github.com/users/Helloman892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helloman892/subscriptions","organizations_url":"https://api.github.com/users/Helloman892/orgs","repos_url":"https://api.github.com/users/Helloman892/repos","events_url":"https://api.github.com/users/Helloman892/events{/privacy}","received_events_url":"https://api.github.com/users/Helloman892/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-29T02:49:54Z","updated_at":"2018-12-29T15:47:36Z","closed_at":"2018-12-29T15:47:36Z","author_association":"NONE","body":"What it should look like:\r\n```crystal\r\nprivate class R\r\n  def initialize\r\n  end\r\nend\r\n```\r\nWhat it ends up looking like (`gg=G`):\r\n```crystal\r\nprivate class R\r\ndef initialize\r\nend\r\nend\r\n```\r\nUpon experimentation, it seems to me that the indentation level isn't increased after a `private class` declaration. I'm sadly no Vim syntax highlighting wizard, so I haven't been able to thunk a fix."}}
{"actor":{"display_login":"rhysd"}}