vim can't handle DOS line endings in .vimrc (was Re: [ANNOUNCEMENT] Updated: vim-6.1.300-1)
Shankar Unni
shankar@cotagesoft.com
Sun Feb 9 22:25:00 GMT 2003
Corinna Vinschen wrote:
> I've updated the version of vim to 6.1.300-1.
I've just updated to the latest everything (cygwin 1.3.20, vim 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:
line 1:
Trailing characters: nocompatible^M
line 2:
Invalid argument: background=dark^M
line 4:
Invalid argument: xterm^M
line 5:
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.
--
Shankar.
--
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/
More information about the Cygwin
mailing list