gregsexton / MatchTag

Vim's MatchParen for HTML tags
http://www.vim.org/scripts/script.php?script_id=3818
310 stars 31 forks source link

FIX: Need to pass String-type skip argument to searchpairpos() now #41

Closed inkarkat closed 2 years ago

inkarkat commented 6 years ago

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.

inkarkat commented 2 years ago

Has been fixed (slightly different) by #42.