> On Apr 9, 12:17 pm, Gary Johnson <garyj...@spocom.com> wrote:
> > What do these commands show?
> >
> > :set rtp?
>
> runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/
> vim/vimfiles/after,~/.vim/after
>
> > :version
>
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jun 17 2009 19:45:57)
You wrote earlier:
> Vim is looking in /usr/share/vim/syntax/syntax.vim, but the file is
> located at /usr/share/vim/vim70/syntax/syntax.vim. Is there an
> environment variable or vim setting that I can use to get Vim looking
> in the correct location?
You are using Vim-7.2 but expecting it to find files in the
directories designated for Vim-7.0. Your Vim is looking for the
directory /usr/share/vim/vim72. Not finding that, it is falling
back to /usr/share/vim.
The correct solution is to update your installation with the runtime
files for Vim-7.2.
You could change $VIMRUNTIME or 'runtimepath' ('rtp') to make Vim
look in /usr/share/vim/vim70 for its runtime files, but you're
likely to run into problems since your Vim may depend on the more
recent versions of those files.
Regards,
Gary
--
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
To unsubscribe, reply using "remove me" as the subject.
No comments:
Post a Comment