mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
updated for version 7.4.221
Problem: Quickfix doesn't resize on ":copen 20". (issue 199) Solution: Resize the window when requested. (Christian Brabandt)
This commit is contained in:
parent
c666b5b467
commit
158864120d
@ -2358,7 +2358,22 @@ ex_copen(eap)
|
|||||||
win = qf_find_win(qi);
|
win = qf_find_win(qi);
|
||||||
|
|
||||||
if (win != NULL && cmdmod.tab == 0)
|
if (win != NULL && cmdmod.tab == 0)
|
||||||
|
{
|
||||||
win_goto(win);
|
win_goto(win);
|
||||||
|
if (eap->addr_count != 0)
|
||||||
|
{
|
||||||
|
#ifdef FEAT_VERTSPLIT
|
||||||
|
if (cmdmod.split & WSP_VERT)
|
||||||
|
{
|
||||||
|
if (height != W_WIDTH(win))
|
||||||
|
win_setwidth(height);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
if (height != win->w_height)
|
||||||
|
win_setheight(height);
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
qf_buf = qf_find_buf(qi);
|
qf_buf = qf_find_buf(qi);
|
||||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
221,
|
||||||
/**/
|
/**/
|
||||||
220,
|
220,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user