Hirohito Higashi notice me that "eol" is also not copied from global option. He 
found it from all of buffer-local options which is not copied from global 
option.

diff --git a/src/option.c b/src/option.c
index b0f28d2..013e890 100644
--- a/src/option.c
+++ b/src/option.c
@@ -10659,6 +10659,8 @@ buf_copy_options(buf, flags)
 #ifdef FEAT_MBYTE
            buf->b_p_bomb = p_bomb;
 #endif
+           buf->b_p_eol = p_eol;
+           buf->b_p_fixeol = p_fixeol;
            buf->b_p_et = p_et;
            buf->b_p_et_nobin = p_et_nobin;
            buf->b_p_ml = p_ml;

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui