oakmac / vscode-parinfer

Parinfer for VS Code
MIT License
167 stars 20 forks source link

Undo history gets too many steps #5

Open sander opened 9 years ago

sander commented 9 years ago

It seems that some automatic vscode-parinfer edits get added to the undo history stack. For example, when writing (defn foo [ in Indent mode, which is finished automatically with ]), I have to Undo three times with these results:

(defn foo []) → ⌘Z → (defn foo ) → ⌘Z → (defn foo ) → ⌘Z →

This makes undoing feel jerky.

joaomoreno commented 8 years ago

Yeah I noticed the same, need to address this!