1
0
forked from aniani/vim

patch 8.2.0884: searchcount() test fails on slower systems

Problem:    Searchcount() test fails on slower systems.
Solution:   Set a longer timeout.
This commit is contained in:
Bram Moolenaar
2020-06-01 21:32:45 +02:00
parent 5fbf3bc3f9
commit ea6561af92
3 changed files with 7 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ typedef struct searchstat
static void cmdline_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, int show_top_bot_msg, char_u *msgbuf, int recompute, int maxcount, long timeout);
static void update_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos, searchstat_T *stat, int recompute, int maxcount, long timeout);
#define SEARCH_STAT_DEF_TIMEOUT 20L
#define SEARCH_STAT_DEF_TIMEOUT 40L
#define SEARCH_STAT_DEF_MAX_COUNT 99
#define SEARCH_STAT_BUF_LEN 12