parinfer 2019-01-15

@shaunlebron do you think we always want paren mode to fix up paste operations? Users are requesting it, but feels like we might not always want that.

@shaunlebron also, I owe you a link to NeoVim buffer changes API. I haven't looked to closely, but here's what I had: https://github.com/neovim/neovim/pull/7917

not enough context for me to understand this link

paren mode won’t solve all paste issues though

pasted input can be unbalanced itself

might be worth trying—after pasting, run paren mode if and only if the result is balanced

paren mode can’t do anything with unbalanced code anyway

so I’d try that if you’re looking for a direction to go with wrangling pasted code

ahh, that sounds acceptable