mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
vim-patch:8.2.5152: search() gets stuck with "c" and skip evaluates to true (#19064)
Problem: search() gets stuck with "c" and skip evaluates to true.
Solution: Reset the SEARCH_START option. (closes vim/vim#10608)
180246cfd1
This commit is contained in:
@@ -7766,6 +7766,9 @@ static int search_cmn(typval_T *argvars, pos_T *match_pos, int *flagsp)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// clear the start flag to avoid getting stuck here
|
||||
options &= ~SEARCH_START;
|
||||
}
|
||||
|
||||
if (subpatnum != FAIL) {
|
||||
|
Reference in New Issue
Block a user