0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

patch 9.0.1233: search() loops forever if "skip" is TRUE for all matches

Problem:    search() loops forever if "skip" is TRUE for all matches.
Solution:   Keep the position of the first match.
This commit is contained in:
Bram Moolenaar
2023-01-22 20:14:26 +00:00
parent d343c60df4
commit 3d79f0a430
3 changed files with 20 additions and 1 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1233,
/**/
1232,
/**/