mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:8.2.2231: when "--remote file" is used "file" is not reloaded
Problem: When "--remote file" is used "file" is not reloaded.
Solution: When a :drop command is used for a file that is already displayed
in a window and it has not been changed, check if it needs to be
reloaded. (closes vim/vim#7560)
e4862a0fe6
Remove unused "focus" parameter from "buf_check_timestamp()".
It was meant for removed GUI code.
This commit is contained in:
@@ -2323,7 +2323,7 @@ int do_ecmd(
|
||||
// Existing memfile.
|
||||
oldbuf = true;
|
||||
set_bufref(&bufref, buf);
|
||||
(void)buf_check_timestamp(buf, false);
|
||||
(void)buf_check_timestamp(buf);
|
||||
// Check if autocommands made buffer invalid or changed the current
|
||||
// buffer.
|
||||
if (!bufref_valid(&bufref) || curbuf != old_curbuf.br_buf) {
|
||||
|
Reference in New Issue
Block a user