Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
nerdo opened this Issue Jun 27, 2012 · 2 comments

Comments

Projects
None yet
3 participants

nerdo commented Jun 27, 2012

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 = ',:,' .
\ ':::,' .
\ ':,:,' .
\ ':,:' .
\ '<@<=[ou]l>[^>]%(>|$):<@<=li>:<@<=/[ou]l>,' .
\ '<@<=dl>[^>]
%(>|$):<@<=d[td]>:<@<=/dl>,' .
\ '<@<=([^/?][^ \t>])[^>]%(>|$):<@<=/\1>,' .
\ '<:>,(:),{:},[:]'
endif

Contributor

loganlinn commented Mar 6, 2013

This should be closable, as #22 addresses it.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment