On 22/10/08 17:26, Robin Wood wrote:
> Hi
> I have matchit 1.13.2 installed on a machine and while I can now do
> html matches I can no longer do normal bracket matches. It will
> occasionally jump from an opening bracket to a close but not the other
> way round.
>
> I've tried re-running :helptags ~/.vim/doc again and also tried
> copying a tags file from a working machine, that didn't help.
>
> If I remove all the matchit stuff bracket matching works fine.
>
> I'm using version 6.3.82 on RHEL 4.
>
> Any suggestions on how to fix it?
>
> Robin


I have the following in my vimrc:


if has('autocmd')
        augroup vimrclocal
        " match (:),[:],{:} in matchit for C, C++, CSS and javascript
                au FileType c,cpp,css,javascript
                        \ let b:match_words = &matchpairs
        " you may have other autocommands, unrelated to the above.
        " Place them here.
        augroup END
endif


Oh, and BTW version 6.3.82 is hopelessly out-of-date. The current 
version is 7.2.25. For Windows, get it from 
https://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721 
; for Linux, compile it yourself as shown at 
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm (compile.htm, 
in the same folder, is the equivalent page for Windows but Steve Hall's 
precompiled installers at sourceforge are good enough for most purposes).


Best regards,
Tony.



Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
219. Your spouse has his or her lawyer deliver the divorce papers...
      via e-mail.

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

Reply via email to