delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=AWL,BAYES_40,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_YG |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
Subject: | Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim |
Date: | Wed, 12 Oct 2011 12:03:53 +0300 |
Lines: | 75 |
Message-ID: | <j73l5m$m76$1@dough.gmane.org> |
References: | <j5ndp8$5fg$1 AT dough DOT gmane DOT org> <32579808 DOT post AT talk DOT nabble DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
In-Reply-To: | <32579808.post@talk.nabble.com> |
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 |
Note-from-DJ: | This may be spam |
03.10.2011 2:35, jan.kolar пишет: > 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 > > 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 > ?) > That because you use another Vim. I run vim from 'vim' package: $ cygcheck -c vim Cygwin Package Information Package Version Status vim 7.3.254-1 OK $ which vim /usr/bin/vim $ cygcheck -l vim /etc/postinstall/vim.sh /etc/preremove/vim.sh /usr/bin/ex /usr/bin/vi /usr/bin/vim-nox.exe /usr/bin/vimtutor $ cat /etc/postinstall/vim.sh.done /usr/sbin/update-alternatives \ --install /usr/bin/vim vim /usr/bin/vim-nox.exe 10 \ ... I try all your suggested command and they all fail. Also I note that there are no any Cygwin specific vim.README under /usr/share/doc/Cygwin nor under /usr/share/vim, /usr/share/doc/vim which is unusual situation for Cygwin package... Search under: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=vim list only: gvim/gvim-7.2.245-1 which also does not contain $VIMRUNTIME/syntax/syntax.vim Is it possible to get full featured Vim under Cygwin? Or separate installation required? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |