1
0
forked from aniani/vim

patch 8.2.1620: searchcount() test fails

Problem:    searchcount() test fails.
Solution:   Restore default flag value.
This commit is contained in:
Bram Moolenaar
2020-09-05 23:16:00 +02:00
parent 7c27f337bf
commit 4140c4f3ff
2 changed files with 3 additions and 1 deletions

View File

@@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_T *rettv)
char_u *pattern = NULL;
int maxcount = SEARCH_STAT_DEF_MAX_COUNT;
long timeout = SEARCH_STAT_DEF_TIMEOUT;
int recompute = FALSE;
int recompute = TRUE;
searchstat_T stat;
if (rettv_dict_alloc(rettv) == FAIL)