{"action":"created","issue":{"url":"https://api.github.com/repos/mxw/vim-jsx/issues/116","repository_url":"https://api.github.com/repos/mxw/vim-jsx","labels_url":"https://api.github.com/repos/mxw/vim-jsx/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/mxw/vim-jsx/issues/116/comments","events_url":"https://api.github.com/repos/mxw/vim-jsx/issues/116/events","html_url":"https://github.com/mxw/vim-jsx/issues/116","id":174445877,"number":116,"title":"Wrong indentation for ternary ifs","user":{"login":"sassanh","id":1270688,"avatar_url":"https://avatars.githubusercontent.com/u/1270688?v=3","gravatar_id":"","url":"https://api.github.com/users/sassanh","html_url":"https://github.com/sassanh","followers_url":"https://api.github.com/users/sassanh/followers","following_url":"https://api.github.com/users/sassanh/following{/other_user}","gists_url":"https://api.github.com/users/sassanh/gists{/gist_id}","starred_url":"https://api.github.com/users/sassanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassanh/subscriptions","organizations_url":"https://api.github.com/users/sassanh/orgs","repos_url":"https://api.github.com/users/sassanh/repos","events_url":"https://api.github.com/users/sassanh/events{/privacy}","received_events_url":"https://api.github.com/users/sassanh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-09-01T06:25:27Z","updated_at":"2016-09-02T14:52:34Z","closed_at":"2016-09-02T07:34:50Z","body":"Please take a look at this comment and comments following it: https://github.com/pangloss/vim-javascript/issues/618#issuecomment-243972420\r\n\r\nThe fix we found there breaks the ternary ifs out of `JSXRegion`s. I guess it's better solved in `vim-jsx` as there isn't a clean way to solve this in `vim-javascript`."},"comment":{"url":"https://api.github.com/repos/mxw/vim-jsx/issues/comments/244397334","html_url":"https://github.com/mxw/vim-jsx/issues/116#issuecomment-244397334","issue_url":"https://api.github.com/repos/mxw/vim-jsx/issues/116","id":244397334,"user":{"login":"mxw","id":1013739,"avatar_url":"https://avatars.githubusercontent.com/u/1013739?v=3","gravatar_id":"","url":"https://api.github.com/users/mxw","html_url":"https://github.com/mxw","followers_url":"https://api.github.com/users/mxw/followers","following_url":"https://api.github.com/users/mxw/following{/other_user}","gists_url":"https://api.github.com/users/mxw/gists{/gist_id}","starred_url":"https://api.github.com/users/mxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxw/subscriptions","organizations_url":"https://api.github.com/users/mxw/orgs","repos_url":"https://api.github.com/users/mxw/repos","events_url":"https://api.github.com/users/mxw/events{/privacy}","received_events_url":"https://api.github.com/users/mxw/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T14:52:34Z","updated_at":"2016-09-02T14:52:34Z","body":"@bounceme—So, is there a JS-only construct that would yield the same indentation for a multiline ternary that @sassanh is describing?  If so, could you please post that example?"}}
{"actor":{"display_login":"mxw"}}