This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: no syntax highlighting in vim (latest) win2k
- From: BStrohhaecker at Hueller-Hille dot com
- To: cygwin at cygwin dot com
- Cc: dan at bosold dot net
- Date: Mon, 1 Jul 2002 09:40:58 +0200
- Subject: Re: no syntax highlighting in vim (latest) win2k
Von: Dan Bosold [mailto:hamishog@yahoo.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/