{"action":"created","issue":{"url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/76","repository_url":"https://api.github.com/repos/neovimhaskell/haskell-vim","labels_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/76/comments","events_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/76/events","html_url":"https://github.com/neovimhaskell/haskell-vim/issues/76","id":171788672,"number":76,"title":"Re-indenting lines already containing text","user":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-18T00:03:10Z","updated_at":"2016-08-25T13:00:46Z","closed_at":"2016-08-24T20:23:12Z","body":"Is there a way to stop the re-indentation of lines already containing text? Problems occur after manually fixing ambiguities. For example, after manually fixing the indentation for\r\n```haskell\r\nwhere foo = do do1\r\n               do2\r\n```\r\nadding a space after do2 turns it into\r\n```haskell\r\nwhere foo = do do1\r\n      do2 <- ...\r\n```"},"comment":{"url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/comments/242376984","html_url":"https://github.com/neovimhaskell/haskell-vim/issues/76#issuecomment-242376984","issue_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/76","id":242376984,"user":{"login":"jonascarpay","id":3593851,"avatar_url":"https://avatars.githubusercontent.com/u/3593851?v=3","gravatar_id":"","url":"https://api.github.com/users/jonascarpay","html_url":"https://github.com/jonascarpay","followers_url":"https://api.github.com/users/jonascarpay/followers","following_url":"https://api.github.com/users/jonascarpay/following{/other_user}","gists_url":"https://api.github.com/users/jonascarpay/gists{/gist_id}","starred_url":"https://api.github.com/users/jonascarpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonascarpay/subscriptions","organizations_url":"https://api.github.com/users/jonascarpay/orgs","repos_url":"https://api.github.com/users/jonascarpay/repos","events_url":"https://api.github.com/users/jonascarpay/events{/privacy}","received_events_url":"https://api.github.com/users/jonascarpay/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T13:00:46Z","updated_at":"2016-08-25T13:00:46Z","body":"Do you think it's feasible to have Ctrl-D or < work by snapping to either 1) possible indentations suggested by the syntax or 2) the same indentation levels as nearby lines? I might give nr 2 a shot over the weekend if there's no reason why it shouldn't work, but it sounds like there might be some pitfalls.\r\n\r\nAlso, sorry for reopening and closing the issue, that was not on purpose."}}
{"actor":{"display_login":"jonascarpay"}}