vim-patch:8.1.1757: text added with appendbufline() isn't displayed

Problem:    Text added with appendbufline() to another buffer isn't displayed.
Solution:   Update topline. (partly by Christian Brabandt, closes vim/vim#4718)
2984666291
This commit is contained in:
Jan Edmund Lazo
2019-08-24 14:02:51 -04:00
parent 34e4166673
commit 4fedef51b0
2 changed files with 27 additions and 0 deletions

View File

@@ -15194,6 +15194,7 @@ static void set_buffer_lines(buf_T *buf, linenr_T lnum_arg, bool append,
}
}
check_cursor_col();
update_topline();
}
if (!is_curbuf) {