delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/02/19:35:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <32579808.post@talk.nabble.com>
Date: Sun, 2 Oct 2011 16:35:36 -0700 (PDT)
From: "jan.kolar" <kolar AT math DOT cas DOT cz>
To: cygwin AT cygwin DOT com
Subject: Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
In-Reply-To: <j5ndp8$5fg$1@dough.gmane.org>
MIME-Version: 1.0
References: <j5ndp8$5fg$1 AT dough DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019