gregsexton / MatchTag

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

Add support for vim > 7.0 by making timeout optional #6

Closed mattsacks closed 12 years ago

mattsacks commented 12 years ago

The timeout parameter for searchpairpos() was introduced in Vim 7.1.211, this commit will prevent Vim from throwing bunches of errors from loading MatchTag in versions 7.0 and 7.1

gregsexton commented 12 years ago

Thanks for catching this. Could you please fix the line I commented on and I'll be happy to merge it in.

mattsacks commented 12 years ago

Whoops, thought that >= was in there. Thanks.