vi brace matching

For 40 years, brace matching in vi has been part of my workflow, and for the most part, it works great! One of the first things I look for in a new editor is this feature. But sometimes, it breaks down. Consider a PHP line like:

if (stripos($str, '{+') !== false) {

As soon as you do something like that, your brace matching in vim falls apart.

But there’s a fix! The incredible matchit mod for vim by Benji Fisher. Handles THOUSAND LINE if blocks (this is legacy code, my friends) like a knife through butter. Thank you Benji!