On 2009-10-12, Alexander Kutka wrote:
> Hi,
> 
> Yes, when I type ":version",  the "+syntax" is there (see end of mail).
> 
> Don't know, wether following thing will help you guys: when I type 
> ":syntax off", I get this error message
> 
> E484: Can't open file /usr/share/vim/current/syntax/nosyntax.vim
> (Such a file really doesn't exist on my filesys).

>From that I'd say that your installation is broken or incomplete.
Does whatever source you installed vim from put the runtime files in
a separate package?  Did you use a package manager that can verify
the integrity of your vim installation?

> :version
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 25 2009 17:43:03)
> Included patches: 1-108
> Compiled by 'http://www.opensuse.org/'
> Huge version without GUI.  Features included (+) or not (-):

>    fall-back for $VIM: "/etc"
>   f-b for $VIMRUNTIME: "/usr/share/vim/current"

Those two lines are weird.  As ":help $VIMRUNTIME" says, $VIMRUNTIME
is normally $VIM/vim(version) where (version) is a version
number.  More conventional values would be:

   fall-back for $VIM: "/usr/share/vim"
  f-b for $VIMRUNTIME: "/usr/share/vim/vim72"

That's not to say that one can never change $VIM or $VIMRUNTIME, but
one should be careful doing that and be prepared to deal with the
consequences.

You might have a look to see if /etc/vim72 and/or
/usr/share/vim/vim72 exist and if your runtime files got put there
instead of where vim is expecting them, i.e.,
/usr/share/vim/current.

HTH,
Gary



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

Reply via email to