Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

gofmt clobbers redo buffer #50

Open
mkantor opened this issue Nov 2, 2016 · 0 comments
Open

gofmt clobbers redo buffer #50

mkantor opened this issue Nov 2, 2016 · 0 comments

Comments

@mkantor
Copy link

mkantor commented Nov 2, 2016

Steps to reproduce:

  1. printf '%s\n' 'package main' 'func foo(){}' > example.go
  2. atom example.go
  3. Make an edit to the file.
  4. Undo your edit.
  5. Save the file or otherwise trigger gofmt.
  6. Try to redo your edit.

Since gofmt changed the file contents, your redo buffer is gone. ☹️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant