delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/01/16:05:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=EC3LwEBgBbMvGLgaNP5hoVQ04qoZv
MlfTbxty+FiVzO7vDNL3Xroapk1QsxcR8jZSfZK9/Hda/NDsBNX31W5ggLYH2KdQ
/tPVO3jtkqE6AdyraD+jd52tU4MqGZva1sc98PDnR6NzjBYynuM4V6YDddKPQLql
ARrsWpQDxE/vv8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=5EukmSWwMAAWGy0oJXC4/IsGnCo=; b=neD
BQQTbntQu33WPLQGehMGNMuNwTgEd6FAzuC7QJOzUwbX9yhyX2CVtXvvBp3oh1v9
c1kK+hxOZUFnJ+SIj3KCV63ZHPUx5P/imB6x/3q0RfEYKcRaz6rbUIF3MJCjvAn6
lHGsMHimmMEdST11skY2CbYbSlY6bzbXzyr1DyzY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-vc0-f169.google.com
MIME-Version: 1.0
X-Received: by 10.220.105.4 with SMTP id r4mr2546668vco.27.1398974719236; Thu, 01 May 2014 13:05:19 -0700 (PDT)
Date: Thu, 1 May 2014 15:05:19 -0500
Message-ID: <CABVxZbaXjiViK8fOSBFJHP_JdY_73Z3vwnrk5uDY1fGHi26a0A@mail.gmail.com>
Subject: Re: no syntax highlighting in cygwin / vim
From: Glenn Strycker <glenn DOT strycker AT gmail DOT com>
To: cygwin AT cygwin DOT com

"syntax on" does not seem to be supported in the Cygwin version of
vim.  When I include this in my .vimrc file, I get the following
error:

     $ vi -u .vimrc .vimrc
     Error detected while processing /home/gstrycker/.vimrc:
     line   11:
     E319: Sorry, the command is not available in this version: syntax on
     Press ENTER or type command to continue

Also, I tried to make a /usr/share/vim/vimrc file, but it does not
seem to be loading automatically.  Do I need to add something to my
path, or an environment variable (e.g. "vimpath"?) or something?

Note that there is a similar thread to these questions here:
http://superuser.com/questions/505761/how-to-get-vim-color-mode-to-work-in-vim-under-cygwin

--
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