diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-29 20:01:52 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-29 20:01:52 +0100 |
commit | 1577537f109d97a975fda9a899cacfb598617767 (patch) | |
tree | 2aae6eb208722a06a991f51a064ca9d135be175d /src/buffer.c | |
parent | 6ebe4f970b8b398087076a72a7aae6e680fb92da (diff) |
patch 9.0.0819v9.0.0819
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |