forked from aniani/vim
updated for version 7.3.869
Problem: bufwinnr() matches buffers in other tabs. Solution: For bufwinnr() and ? only match buffers in the current tab. (Alexey Radkov)
This commit is contained in:
@@ -2645,7 +2645,8 @@ do_one_cmd(cmdlinep, sourcing,
|
||||
while (p > ea.arg && vim_iswhite(p[-1]))
|
||||
--p;
|
||||
}
|
||||
ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0, FALSE);
|
||||
ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0,
|
||||
FALSE, FALSE);
|
||||
if (ea.line2 < 0) /* failed */
|
||||
goto doend;
|
||||
ea.addr_count = 1;
|
||||
|
Reference in New Issue
Block a user