Kamaraju Kusumanchi wrote:
Hi
I have two vim installations. One is on Debian Etch, vim 7.0-122. The
other one is Redhat 7.3, vim 7.0. On Debian I am using the distribution
provided vim packages. On Redhat, I compiled vim 7.0 myself. Both machines
have the same .vim, .vimrc, .gvimrc etc.,
Now I have a .F90 file whose contents looks like
function name(args)
...
end function
Let's say my cursor is on f of function.
On debian, If I enter %, it goes to "end function" line.
On Redhat, If I enter %, it goes to the end of that line. That is on Redhat
machine, it sees match between (, ) instead of match between function, end
function.
My configuration files are temporarily hosted at
http://kamaraju.googlepages.com/vim_problems
Please let me know how to get the correct behavior on the Redhat machine as
well...
raju
see ":help matchit-install"
As an alternative to copying the files, you may want to add a pair of
softlinks (untested):
~/.vim/plugin/matchit.vim ->
/usr/local/share/vim/vim70/macros/matchit.vim
~/.vim/doc/matchit.txt -> /usr/local/share/vim/vim70/macros/matchit.txt
Best regards,
Tony.