summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-17 17:06:33 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-17 17:06:33 +0100
commiteda1da0c9a8db1400649629117e7d248c07735f7 (patch)
treeb5357f17e49a2bc1cd71a44895b6d0621124605a /src/search.c
parent077b9dd3541339a23ade0cc6a23e804ee39312c5 (diff)
downloadvim-git-eda1da0c9a8db1400649629117e7d248c07735f7.tar.gz
patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313
Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 00f0a08ff..cff289cf5 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2726,9 +2726,9 @@ showmatch(
* available.
*/
if (vim_strchr(p_cpo, CPO_SHOWMATCH) != NULL)
- ui_delay(p_mat * 100L, TRUE);
+ ui_delay(p_mat * 100L + 8, TRUE);
else if (!char_avail())
- ui_delay(p_mat * 100L, FALSE);
+ ui_delay(p_mat * 100L + 9, FALSE);
curwin->w_cursor = save_cursor; /* restore cursor position */
*so = save_so;
*siso = save_siso;