0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.785

Problem:    On some systems automatically adding the missing EOL causes
            problems. Setting 'binary' has too many side effects.
Solution:   Add the 'fixeol' option, default on. (Pavel Samarkin)
This commit is contained in:
Bram Moolenaar
2015-07-17 14:18:08 +02:00
parent 2cf6938706
commit 34d72d4b6c
21 changed files with 118 additions and 25 deletions

View File

@@ -547,6 +547,7 @@ buf_clear_file(buf)
buf->b_shortname = FALSE;
#endif
buf->b_p_eol = TRUE;
buf->b_p_fixeol = TRUE;
buf->b_start_eol = TRUE;
#ifdef FEAT_MBYTE
buf->b_p_bomb = FALSE;