On Fri, Jan 23, 2015 at 4:03 PM, Cesar Romani <cesar.romani@gmail.com> wrote:
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,
Matchit.vim is supposed to add the 'mps' value to the end of b:match_words. Sometimes this fails, for example if you :source matchit.vim after loading the file. To force the script to re-parse, try
:MatchDebug
HTH --Benji Fisher
--
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:
Post a Comment