{"action":"created","issue":{"url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/5","repository_url":"https://api.github.com/repos/martin-eden/lua_code_formatter","labels_url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/5/comments","events_url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/5/events","html_url":"https://github.com/martin-eden/lua_code_formatter/issues/5","id":275957174,"number":5,"title":"How to implement range-based formatting?","user":{"login":"vadi2","id":110988,"avatar_url":"https://avatars1.githubusercontent.com/u/110988?v=4","gravatar_id":"","url":"https://api.github.com/users/vadi2","html_url":"https://github.com/vadi2","followers_url":"https://api.github.com/users/vadi2/followers","following_url":"https://api.github.com/users/vadi2/following{/other_user}","gists_url":"https://api.github.com/users/vadi2/gists{/gist_id}","starred_url":"https://api.github.com/users/vadi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadi2/subscriptions","organizations_url":"https://api.github.com/users/vadi2/orgs","repos_url":"https://api.github.com/users/vadi2/repos","events_url":"https://api.github.com/users/vadi2/events{/privacy}","received_events_url":"https://api.github.com/users/vadi2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-22T06:24:19Z","updated_at":"2017-12-04T18:20:31Z","closed_at":null,"author_association":"NONE","body":"As range-based formatting isn't supported out of the box https://github.com/martin-eden/lua_code_formatter/issues/2#issuecomment-332376877, what would be the recommended way of implementing it?\r\n\r\nThe difficulty I see is how to figure out what the initial indent should be - can the AST help here at all?"},"comment":{"url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/comments/349054743","html_url":"https://github.com/martin-eden/lua_code_formatter/issues/5#issuecomment-349054743","issue_url":"https://api.github.com/repos/martin-eden/lua_code_formatter/issues/5","id":349054743,"user":{"login":"martin-eden","id":20048064,"avatar_url":"https://avatars3.githubusercontent.com/u/20048064?v=4","gravatar_id":"","url":"https://api.github.com/users/martin-eden","html_url":"https://github.com/martin-eden","followers_url":"https://api.github.com/users/martin-eden/followers","following_url":"https://api.github.com/users/martin-eden/following{/other_user}","gists_url":"https://api.github.com/users/martin-eden/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-eden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-eden/subscriptions","organizations_url":"https://api.github.com/users/martin-eden/orgs","repos_url":"https://api.github.com/users/martin-eden/repos","events_url":"https://api.github.com/users/martin-eden/events{/privacy}","received_events_url":"https://api.github.com/users/martin-eden/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T18:20:31Z","updated_at":"2017-12-04T18:20:31Z","author_association":"OWNER","body":"Wow! Glad to see it in use as part of bigger project!"}}
{"actor":{"display_login":"martin-eden"}}