delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/01/03:47:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <5A95B0B37820D511AD1500B0D0AADF774DE020@lbsvnt4>
From: BStrohhaecker AT Hueller-Hille DOT com
To: cygwin AT cygwin DOT com
Cc: dan AT bosold DOT net
Subject: Re: no syntax highlighting in vim (latest) win2k
Date: Mon, 1 Jul 2002 09:40:58 +0200
MIME-Version: 1.0

Von: Dan Bosold [mailto:hamishog AT yahoo DOT com]
Gesendet: Sonntag, 30. Juni 2002 17:27

> vim 6.X, latest from cygwin and win2k. fresh install
> and i cannot get syntax  highlighting to work in vim.
> shell highlighting, ls, etc works just fine .with vim,
> i get the following errors:
> 
> 'Trailing characters: endif^M'
> 'Command already exists: use ! to redifine'
> 'Not an editor command: ^M'
> 
> ...
 
I assume that your syntaxfiles have DOS-style line endings.
Cygwin's vim seems not to like them.

Try inside VIM:
:cd $VIMRUNTIME/syntax
:ar *
:bufdo set ff=unix
:wall
:q

HTH, 

Bernd

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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