commit | 34d72d4b6c1a2b04a214d8a49b7d22c97bc7a8bc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 17 14:18:08 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 17 14:18:08 2015 +0200 |
tree | 82675f2f5f49bcb04e8271de9fefee41b3c2ec19 | |
parent | 2cf6938706ebcd20e4b4a6723f5f70568b26b1c6 [diff] [blame] |
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)
diff --git a/src/buffer.c b/src/buffer.c index 97c6596..c4d5e34 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -547,6 +547,7 @@ 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;