Recent Vim versions have tightened the accepted arguments for searchpair[pos]():
8.1.0112 no error when using bad arguments with searchpair()
The default matchparen.vim has been affected by this, and you apparently took over that code for your plugin. The fix (also taken from the latest matchparen.vim) is easy: Pass a String-type "0" instead of the number 0 in skip.
Recent Vim versions have tightened the accepted arguments for
searchpair[pos]()
:The default matchparen.vim has been affected by this, and you apparently took over that code for your plugin. The fix (also taken from the latest matchparen.vim) is easy: Pass a String-type "0" instead of the number 0 in skip.