delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/08/18:49:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <0C33B811BB93B3469F549ADBFA84414718BC77B16A@NALASEXMB08.na.qualcomm.com>
References: <0C33B811BB93B3469F549ADBFA84414718BC77B16A AT NALASEXMB08 DOT na DOT qualcomm DOT com>
Date: Mon, 8 Nov 2010 23:49:14 +0000
Message-ID: <AANLkTikz8iVLYCy6GMN--OEJy1AxjyRLW8s3E2d=3mzG@mail.gmail.com>
Subject: Re: Syntax highlighting not working in vim73
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT 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

On 8 November 2010 22:46, Harrington, John wrote:
> I recently upgraded vim in cygwin from vim63 to vim73.=C2=A0 I am running=
 cygwin (with vim) on a Windows XP (version 5.1, sp3) machine.
>
> My problem is that syntax highlighting, which has worked fine for me in e=
very previous version of vim suddenly doesn't not work.=C2=A0 I have not mo=
dified my vimrc files, so I'm at a loss to know what has changed.
>
> I have looked at the vim documentation and some online tutorials.=C2=A0 I=
 seem to be doing everything I need to do to get syntax coloring to work.=
=C2=A0 I have turned on syntax in the /usr/share/vim/vimrc and in my .vimrc=
 file in my home directory.=C2=A0 I have tried explicitly typing :syntax on=
 in vim.=C2=A0 I have tried replacing my vimrc files with sample vimrc file=
s that are supposed to work.=C2=A0 I have tried explicitly indicating synta=
x with the :set syn=3D<syntax-type> command.=C2=A0 =C2=A0Nothing seems to m=
ake a difference.
>
> Looking in /usr/share/vim/vim73/syntax, I see all of the syntax files the=
re, including the file types I'm testing (such as python.vim, etc.).
>
> The cygwin window can represent colors just fine.=C2=A0 For example, ls -=
-color works, but nothing I do seems to turn syntax coloring on.
>
> There is nothing extraordinary about my installation of cygwin or vim or =
the configuration of my machine, so I'm guessing this is a problem many cyg=
win/vim users have had, but perhaps there's something that makes me unique.=
=C2=A0 Or maybe I'm doing something wrong, I just don't know.
>
> What should I try next?=C2=A0 Thanks.

Which terminal are you using? What's the TERM setting? Are you sure
you're using Cygwin vim, i.e. what does 'which vim' say?

Also:
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html

Andy

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