Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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

@nerdo
Copy link

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

@loganlinn
Copy link
Contributor

This should be closable, as #22 addresses it.

@ghost
Copy link

ghost commented Jun 22, 2014

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants