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: Subject: Re: Syntax highlighting not working in vim73 From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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