Fork me on GitHub
#parinfer
<
2019-01-15
>
eraserhd14:01:00

@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.

eraserhd15:01:28

@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

shaunlebron18:01:25

not enough context for me to understand this link

shaunlebron18:01:10

paren mode won’t solve all paste issues though

shaunlebron18:01:51

pasted input can be unbalanced itself

shaunlebron18:01:56

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

shaunlebron18:01:09

paren mode can’t do anything with unbalanced code anyway

shaunlebron18:01:21

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

eraserhd20:01:46

ahh, that sounds acceptable