Friday, January 23, 2015

Problem with matchit when editing html

I'm using vim 7.4.591 on Windows 7.
I'm editing an html file with the matchit plugin installed.
Using % I can jump from <body> to </body>, <script> to </script>, etc.
but not from ( to ), { to }, or [ to ] although "set mps" reports
(:),{:},[:],<:>

How can I add these pairs whenever I'm editing an html file?
If I do, for example, "let b:match_words='(:)'" then all other default
pairs get lost!

Many thanks in advance,

--
Cesar

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: