diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-17 14:18:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-17 14:18:08 +0200 |
commit | 34d72d4b6c1a2b04a214d8a49b7d22c97bc7a8bc (patch) | |
tree | 82675f2f5f49bcb04e8271de9fefee41b3c2ec19 /src/buffer.c | |
parent | 2cf6938706ebcd20e4b4a6723f5f70568b26b1c6 (diff) |
patch 7.4.785v7.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)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 97c6596042..c4d5e340ba 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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; |