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

Argument of count() must be a List or Dictionary #5

Closed 1xch closed 5 years ago

1xch commented 5 years ago

Error detected while processing function pear_tree#insert_mode#TerminateOpener[10]..pear_tree#insert_mode#CloseSimpleOpener[1]..129_ShouldCloseSimpleOpener: line 23: E712: Argument of count() must be a List or Dictionary

I just installed this to try it, this is the default behavior I'm getting trying to type any type of opener ( e.g. {, [, etc) inside a quote.

Seemingly I should be able to do this by default without error, and then configure as needed for higher orders in the future, what do I do here?

tmsvg commented 5 years ago

What version of Vim are you using? Are you using the newest Pear Tree commit?

tmsvg commented 5 years ago

This issue should have been fixed recently. Please update Pear Tree and let me know if you still have problems. Thanks!