tmsvg / pear-tree

A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
MIT License
392 stars 12 forks source link

Undocumented bad interaction with vim-paste-easy #38

Open ssokolow opened 5 years ago

ssokolow commented 5 years ago

I've had to disable roxma/vim-paste-easy because, with both it and pear-tree installed, if I type both an opener and a closer in less than a second (eg. function_with_no_arguments() or results = []), I wind up with a doubled closer.

I don't know enough about Vim's architecture and VimL to know which side should be responsible for fixing it, but I'd advise at least mentioning it in the README in case anyone else trips over it, experiments with the smart pairing options (which have no effect), and then concludes that pear-tree is broken without investigating further.