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:
committed by
Bram Moolenaar
parent
28d8421bfb
commit
b9115da4be
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user