This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim



Oleksandr Gavenko (aka gavenkoa) wrote:
> 
>    $ cat ~/.vimrc
> syntax on
> 
>    $ vim
> Error detected while processing /cygdrive/e/home/.vimrc:
> line    1:
> E484: Can't open file /usr/share/vim/syntax/syntax.vim
> Press ENTER or type command to continue
> 
> This issue reported previously:
> 
>    http://cygwin.com/ml/cygwin/2006-07/msg00105.html
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

I have no problem with syntax loading.

Did you try reinstall/upgrade/downgrade vim ?

:help syntax-loading
    Source $VIMRUNTIME/syntax/syntax.vim ....
:echo $VIMRUNTIME
    /usr/share/vim/vim73

:help VIMRUNTIME
or see  http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME
http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME 
for what VIMRUNTIME is, how it defaults and how it can be set.
(:let $VIMRUNTIME = "/home/piet/vim/vim54"  -- or what about :letglobal here
?)

JK

-- 
View this message in context: http://old.nabble.com/E484%3A-Can%27t-open-file--usr-share-vim-syntax-syntax.vim-tp32535175p32579808.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]