Mercurial > vim
diff src/search.c @ 18642:bbea1f108187 v8.1.2313
patch 8.1.2313: debugging where a delay comes from is not easy
Commit: https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 17 17:06:33 2019 +0100
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Nov 2019 17:15:04 +0100 |
parents | c0445cb7cfe0 |
children | 7bfe68b637be |
line wrap: on
line diff
--- 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;