forked from aniani/vim
patch 8.1.1288: search stats don't show for mapped command
Problem: Search stats don't show for mapped command. Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian Brabandt)
This commit is contained in:
@@ -4958,8 +4958,8 @@ search_stat(
|
||||
profile_setlimit(20L, &start);
|
||||
#endif
|
||||
while (!got_int && searchit(curwin, curbuf, &lastpos, NULL,
|
||||
FORWARD, NULL, 1, SEARCH_PEEK + SEARCH_KEEP,
|
||||
RE_LAST, (linenr_T)0, NULL, NULL) != FAIL)
|
||||
FORWARD, NULL, 1, SEARCH_KEEP, RE_LAST,
|
||||
(linenr_T)0, NULL, NULL) != FAIL)
|
||||
{
|
||||
#ifdef FEAT_RELTIME
|
||||
// Stop after passing the time limit.
|
||||
|
Reference in New Issue
Block a user