eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

yet another undo issue on vim #112

Open glyh opened 3 years ago

glyh commented 3 years ago

To reproduce:

  1. create a file with bad indentation:
    {
    }
  2. Open it with vim
  3. keep pressing undos

You'll see nothing happens, and a fairly long undo tree generated ( which can be inspected by undo-tree plugins). I think maybe it'll be better if parinfer can turn it off when the text is modified via undos and redos.

johannesrld commented 11 months ago

im also getting this issue in neovim

johannesrld commented 6 months ago

I've fixed this bug in https://github.com/johannesrld/parinfer-rust/tree/fix-undo-explosions, please let me know if it works for you :)