1
0
forked from aniani/vim

patch 8.2.3255: ci" finds following string but ci< and others don't

Problem:    ci" finds following string but ci< and others don't.
Solution:   When not inside an object find the start. (Connor Lane Smit,
            closes #8670)
This commit is contained in:
Connor Lane Smith
2021-07-31 13:31:42 +02:00
committed by Bram Moolenaar
parent 28d8421bfb
commit b9115da4be
4 changed files with 54 additions and 5 deletions

View File

@@ -2145,6 +2145,8 @@ findmatchlimit(
else if (initc != '#' && initc != NUL)
{
find_mps_values(&initc, &findc, &backwards, TRUE);
if (dir)
backwards = (dir == FORWARD) ? FALSE : TRUE;
if (findc == NUL)
return NULL;
}