aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-15 21:55:56 -0400
committerGitHub <noreply@github.com>2021-04-15 21:55:56 -0400
commitfe808f02f69ab8545f343f987534a75b33d9343a (patch)
treec64018f07b15f915e4dccca77a999cc42cdf7e60 /src/nvim/fileio.c
parentd8e7fbe193cb3c811e305873a1f99b9f02d36d5f (diff)
parent011cfc538cd7325897eb467979d68d6d5c0832cd (diff)
downloadrneovim-fe808f02f69ab8545f343f987534a75b33d9343a.tar.gz
rneovim-fe808f02f69ab8545f343f987534a75b33d9343a.tar.bz2
rneovim-fe808f02f69ab8545f343f987534a75b33d9343a.zip
Merge pull request #14355 from janlazo/vim-8.1.2313
vim-patch:8.1.2313,8.2.{2046,2769}
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 65bd809436..792ef81665 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -4947,11 +4947,11 @@ int buf_check_timestamp(buf_T *buf)
(void)msg_end();
if (emsg_silent == 0) {
ui_flush();
- /* give the user some time to think about it */
- os_delay(1000L, true);
+ // give the user some time to think about it
+ os_delay(1004L, true);
- /* don't redraw and erase the message */
- redraw_cmdline = FALSE;
+ // don't redraw and erase the message
+ redraw_cmdline = false;
}
}
already_warned = TRUE;