From 1577537f109d97a975fda9a899cacfb598617767 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 29 Oct 2022 20:01:52 +0100 Subject: patch 9.0.0819 --- src/buffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 5a4825feb2..0714f62f81 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -790,6 +790,8 @@ buf_clear_file(buf_T *buf) buf->b_ml.ml_line_count = 1; unchanged(buf, TRUE, TRUE); buf->b_shortname = FALSE; + buf->b_p_eof = FALSE; + buf->b_start_eof = FALSE; buf->b_p_eol = TRUE; buf->b_start_eol = TRUE; buf->b_p_bomb = FALSE; -- cgit v1.2.3