aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-13 00:26:34 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-15 18:06:51 -0400
commitb8c3bb67904794e9f45bdc4546aa43009f43c592 (patch)
treeeeda77625a3126273d549a9ff0967ec066a06dd4 /src/nvim/buffer.c
parent94b10d25dae98852c03173e5c0bb7e3bd22cc80d (diff)
downloadrneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.tar.gz
rneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.tar.bz2
rneovim-b8c3bb67904794e9f45bdc4546aa43009f43c592.zip
vim-patch:8.1.2313: debugging where a delay comes from is not easy
Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay(). https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index c98f2786c2..ce4163fccf 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -1844,7 +1844,7 @@ buf_T *buflist_new(char_u *ffname_arg, char_u *sfname_arg, linenr_T lnum,
EMSG(_("W14: Warning: List of file names overflow"));
if (emsg_silent == 0) {
ui_flush();
- os_delay(3000L, true); // make sure it is noticed
+ os_delay(3001L, true); // make sure it is noticed
}
top_file_num = 1;
}