Tony Mechelynck wrote:
On 08/12/09 06:15, Lenin Lee wrote:
I know this plugin, but it only jumps from one tag to its corresponding
one, what I want is to highlight the corresponding tag.

Any ideas ?

AFAIK, there isn't (yet), but it ought to be possible to write a replacement for the matchparen plugin which would highlight (if within the window) whatever matchit (if installed) would jump to on a % keyhit. (If matchit is not installed, fall back to the present behaviour.)

Does HiMtchBrkt do what you're wanting? It only handles () [] {}, not generic matchparen style tags, though.

You can get <HiMtchBrkt.vim> from

   http://vim.sourceforge.net/scripts/script.php?script_id=1435   (stable)
http://mysite.verizon.net/astronaut/vim/index.html#HIMTCHBRKT (cutting edge)

Regards,
Chip Campbell

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to