Hello!
I use vim7 on Win32 and every time I save a file, vim adds a new blank
(CR+LF) line at the end of the file although it is not visible when in
vim.
Is there an option to disable this behaviour?
Thanks!
I use vim7 on Win32 and every time I save a file, vim adds a
new blank (CR+LF) line at the end of the file although it is
not visible when in vim. Is there an option to disable this
behaviour?
yes, there is a way to break expectations :)
The problem is that if you don't have a terminal newline
On Mon, 23 Apr 2007 09:47:21 -0500, Tim Chase <[EMAIL PROTECTED]>
wrote:
> > I use vim7 on Win32 and every time I save a file, vim adds a
> > new blank (CR+LF) line at the end of the file although it is
> > not visible when in vim. Is there an option to disable this
> > behaviour?
>
> yes, there
>Some products will consider a file without a terminator on the final
>line to have been truncated, and will report it as a potential problem
>because from the product's point of view the input has terminated
Now ya know why I *always* put a blank line at the end of *everything*:
.htm files, .css