summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-01 21:32:45 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-01 21:32:45 +0200
commitea6561af92eeb26fa0b4966575da7cadd98af1cd (patch)
tree29afb0b9c0d3108d9137ea175926ff09b8a892bd /src/search.c
parent5fbf3bc3f9d007ab91eb005f9e3da6570992cb43 (diff)
downloadvim-git-ea6561af92eeb26fa0b4966575da7cadd98af1cd.tar.gz
patch 8.2.0884: searchcount() test fails on slower systemsv8.2.0884
Problem: Searchcount() test fails on slower systems. Solution: Set a longer timeout.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index a6b60f63c..0c253e971 100644
--- a/src/search.c
+++ b/src/search.c
@@ -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