> Hong Xu wrote:
>
>> Tested on Windows, maybe it also happens on UNIX.
>>
>> start cmd. Execute "gvim -U NONE -u NONE test.c". Notice that test.c
>> must not exist.
>>
>> :set ff=unix
>> :w
>> :echo&modified
>>
>> Then it shows "1". But if I don't execute ":set ff=unix", then ":echo
>> &modified" shows 0. Is it supposed to be like this?
> That is weird. On Unix it happens with ":set ff=dos".
I assume because the line endings are being updated on the file write?
Chris
--
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