On Fri, 2006-11-10 at 09:35 -0800, Doug Carter wrote:
> I have already corrected the problem (thanks to Paul Bolle who's on
> this list).
>
> The *only* thing I needed to do was add:
>
> filetype plugin on
>
> to my .vimrc file.
>
> No copying files, creating directories, sourcing plugins, just this line.
>
> I can't believe this isn't an FAQ. It's either my distro default settings
> or there's not too many people using this functionality.
I once ran into the same problem on Fedora Core 4 (which probably has
the same default vim configuration as CentOS). Adding these lines
somewhere at the start of matchit.vim seems to do the trick (and can't
hurt those with a different configuration):
" load ftplugin if necessary
if !exists("did_load_ftplugin")
filetype plugin on
if !exists("did_load_ftplugin")
finish
endif
endif
(CC-ing Benji Fischer so Benji can consider adding a test like this to
matchit.)
Regards,
Paul Bolle