Mercurial > vim
diff src/search.c @ 22141:a2d8535d035a v8.2.1620
patch 8.2.1620: searchcount() test fails
Commit: https://github.com/vim/vim/commit/4140c4f3fff1a441f2837f2f911ab0f0368e412a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 5 23:16:00 2020 +0200
patch 8.2.1620: searchcount() test fails
Problem: searchcount() test fails.
Solution: Restore default flag value.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Sep 2020 23:30:03 +0200 |
parents | 003f51ef2e5c |
children | f22acf6472da |
line wrap: on
line diff
--- a/src/search.c +++ b/src/search.c @@ -4062,7 +4062,7 @@ f_searchcount(typval_T *argvars, typval_ 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)