1- I set igonorecase and smartcase and I set shortmess=ilnxtToO (I omitted S)
and I search /main in the following line
MainmainmainmmmainmAin
It works Ok and it I press n until 5th occurance (now the cursor is under m of mAin)
now I search as /mAin
now it shows [5/5] and it not correct.
Thank you
I expect It shows [1/1]
9.1
Linux
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Seems to work for me. Did you try using vim --clean ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I also try by vim --clean and it doesn't work.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
There seems to be a strange comment here:
// If anything relevant changed the count has to be recomputed. // MB_STRNICMP ignores case, but we should not ignore case. // Unfortunately, there is no MB_STRNICMP function. // XXX: above comment should be "no MB_STRCMP function" ? if (!(chgtick == CHANGEDTICK(curbuf) && (lastpat != NULL && MB_STRNICMP(lastpat, spats[last_idx].pat, lastpatlen) == 0 && lastpatlen == spats[last_idx].patlen ) && EQUAL_POS(lastpos, *cursor_pos) && lbuf == curbuf) || wraparound || cur < 0 || (maxcount > 0 && cur > maxcount) || recompute)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yes, I think this is related to the missing MB_STRNCMP function
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
I think we can just use STRNCMP instead?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
Closed #17312 as completed via 670d0c1.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()