Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo is broken after save. #4

Closed
joecrayne opened this issue Feb 12, 2015 · 2 comments
Closed

Redo is broken after save. #4

joecrayne opened this issue Feb 12, 2015 · 2 comments

Comments

@joecrayne
Copy link

Without the plugin, the following works:

  1. undo an action (key u)
  2. save the file (:w)
  3. redo the action (key ^r)

With the plugin installed, the last step does not work. Instead I see "Already at newest change"

@nbouscal
Copy link
Owner

Yeah, I'm aware of this issue but don't know of any way to fix it. Essentially, running stylish-haskell on the file contents puts us into a different branch of vim's undo tree. You should be able to redo by navigating back to the old branch of the undo tree (plugins like Gundo come in handy here).

@expipiplus1
Copy link

expipiplus1 commented Jun 8, 2017

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

No branches or pull requests

3 participants