PIV icon indicating copy to clipboard operation
PIV copied to clipboard

Matching standard braces {}, brackets [], and parenthesis () with % key does not work

Open nerdo opened this issue 12 years ago • 2 comments

I tracked down this issue to be the omission of these in the file PIV/after/ftplugin/php.vim

The fix is simply to add them to b:match_words:

if exists("loaded_matchit") let b:match_skip = 's:comment|string' let b:match_words = '(php)\?:?>,:,' . \ ':::,' . \ ':,:,' . \ ':,:' . \ '<@<=[ou]l>[^>]%(>|$):<@<=li>:<@<=/[ou]l>,' . \ '<@<=dl>[^>]%(>|$):<@<=d[td]>:<@<=/dl>,' . \ '<@<=([^/?][^ \t>])[^>]%(>|$):<@<=/\1>,' . \ '<:>,(:),{:},[:]' endif

nerdo avatar Jun 27 '12 14:06 nerdo

This should be closable, as #22 addresses it.

loganlinn avatar Mar 06 '13 01:03 loganlinn

@nerdo : does it work fine for you now, once updated? if so, please close the issue

ghost avatar Jun 22 '14 09:06 ghost