Friday, June 29, 2012

Re: It works but it doesn't work

On Friday, June 29, 2012 2:05:44 AM UTC-5, Gary Johnson wrote:
>
> If you're using Windows, it could be that you are saving script.vim
> with the DOS file format, i.e., with carriage-return/line-feed line
> endings. When Vim sources such a file, it sees the carriage returns
> at the ends of the lines as part of the lines and not as part of the
> line terminators.
>

Native Windows Vim sources scripts with DOS fileformat without any problems.

The problem with sourcing these scripts is on Unix Vim or maybe cygwin Vim.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment