This is the mail archive of the
mailing list for the Cygwin project.
vim can't handle DOS line endings in .vimrc (was Re: [ANNOUNCEMENT]Updated: vim-6.1.300-1)
- From: Shankar Unni <shankar at cotagesoft dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 09 Feb 2003 14:25:39 -0800
- Subject: vim can't handle DOS line endings in .vimrc (was Re: [ANNOUNCEMENT]Updated: vim-6.1.300-1)
- References: <20030209175012.CBD5A1B8E8@redhat.com>
Corinna Vinschen wrote:
I've just updated to the latest everything (cygwin 1.3.20, vim 6.1.300-1).
I've updated the version of vim to 6.1.300-1.
I normally leave the CYGWIN env var undefined (i.e. cygwin defaults).
Vim now complains about my .vimrc file (which has DOS line endings).
CYGWIN settings (I tried various settings with "tty" and "notty") make
no difference. Each line gets a complaint about the ^M:
Error detected while processing /cygdrive/c/Shankar/.vimrc:
Trailing characters: nocompatible^M
Invalid argument: background=dark^M
Invalid argument: xterm^M
Invalid argument: selectmode=mouse^M
and so on.
Something broken in vim, or was the build different somehow? Rolling
back to 6.1.2 fixes this problem.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html