aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johanhelsing@gmail.com>2015-10-14 20:22:01 +0200
committerJohan Klokkhammer Helsing <johanhelsing@gmail.com>2015-11-22 20:06:07 +0100
commit98f9ff730b276fe029764ad1d657f3eba40a7068 (patch)
tree4482324350a7437749c1eaa78a4954fcb934e9e3 /src/nvim/buffer.c
parent8d07058097fe2f36848e16aae6176fc045316371 (diff)
downloadrneovim-98f9ff730b276fe029764ad1d657f3eba40a7068.tar.gz
rneovim-98f9ff730b276fe029764ad1d657f3eba40a7068.tar.bz2
rneovim-98f9ff730b276fe029764ad1d657f3eba40a7068.zip
vim-patch:7.4.898
Problem: The 'fixendofline' option is set on with ":edit". Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/04dfd512293e951479aec2378753b946c39bea87
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 48d26f84eb..6fc08643af 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -479,7 +479,6 @@ void buf_clear_file(buf_T *buf)
buf->b_ml.ml_line_count = 1;
unchanged(buf, TRUE);
buf->b_p_eol = TRUE;
- buf->b_p_fixeol = true;
buf->b_start_eol = TRUE;
buf->b_p_bomb = FALSE;
buf->b_start_bomb = FALSE;