{"action":"created","issue":{"url":"https://api.github.com/repos/fatih/vim-go/issues/428","labels_url":"https://api.github.com/repos/fatih/vim-go/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/fatih/vim-go/issues/428/comments","events_url":"https://api.github.com/repos/fatih/vim-go/issues/428/events","html_url":"https://github.com/fatih/vim-go/issues/428","id":76554314,"number":428,"title":"Can't undo just gofmt","user":{"login":"phemmer","id":1826947,"avatar_url":"https://avatars.githubusercontent.com/u/1826947?v=3","gravatar_id":"","url":"https://api.github.com/users/phemmer","html_url":"https://github.com/phemmer","followers_url":"https://api.github.com/users/phemmer/followers","following_url":"https://api.github.com/users/phemmer/following{/other_user}","gists_url":"https://api.github.com/users/phemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/phemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phemmer/subscriptions","organizations_url":"https://api.github.com/users/phemmer/orgs","repos_url":"https://api.github.com/users/phemmer/repos","events_url":"https://api.github.com/users/phemmer/events{/privacy}","received_events_url":"https://api.github.com/users/phemmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-15T01:53:35Z","updated_at":"2015-06-25T15:23:36Z","closed_at":null,"body":"Lets say I add a few lines to a file (the change is contained within a single undo history event), and then I write the file. This plugin is going to call `gofmt` on the file, and replace the buffer. It then joins this buffer-replace event with the previous item in the undo history, meaning it is not possible to press `u` and only undo the gofmt, as it is also going to undo the earlier change.\r\n\r\nIs there any reason the changes are being squashed?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fatih/vim-go/issues/comments/115291186","html_url":"https://github.com/fatih/vim-go/issues/428#issuecomment-115291186","issue_url":"https://api.github.com/repos/fatih/vim-go/issues/428","id":115291186,"user":{"login":"fatih","id":438920,"avatar_url":"https://avatars.githubusercontent.com/u/438920?v=3","gravatar_id":"","url":"https://api.github.com/users/fatih","html_url":"https://github.com/fatih","followers_url":"https://api.github.com/users/fatih/followers","following_url":"https://api.github.com/users/fatih/following{/other_user}","gists_url":"https://api.github.com/users/fatih/gists{/gist_id}","starred_url":"https://api.github.com/users/fatih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatih/subscriptions","organizations_url":"https://api.github.com/users/fatih/orgs","repos_url":"https://api.github.com/users/fatih/repos","events_url":"https://api.github.com/users/fatih/events{/privacy}","received_events_url":"https://api.github.com/users/fatih/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:23:36Z","updated_at":"2015-06-25T15:23:36Z","body":"Any response on this?"}}