mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.221
Problem: Quickfix doesn't resize on ":copen 20". Solution: Resize the window when requested. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=a548aae15b3a27a56d814900049785c29c01a37a
This commit is contained in:
parent
f54c050cf3
commit
a129ab20e7
@ -2093,9 +2093,20 @@ void ex_copen(exarg_T *eap)
|
||||
*/
|
||||
win = qf_find_win(qi);
|
||||
|
||||
if (win != NULL && cmdmod.tab == 0)
|
||||
if (win != NULL && cmdmod.tab == 0) {
|
||||
win_goto(win);
|
||||
else {
|
||||
if (eap->addr_count != 0) {
|
||||
if (cmdmod.split & WSP_VERT) {
|
||||
if (height != W_WIDTH(win)) {
|
||||
win_setwidth(height);
|
||||
}
|
||||
} else {
|
||||
if (height != win->w_height) {
|
||||
win_setheight(height);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
qf_buf = qf_find_buf(qi);
|
||||
|
||||
/* The current window becomes the previous window afterwards. */
|
||||
|
@ -240,7 +240,7 @@ static int included_patches[] = {
|
||||
//224,
|
||||
//223,
|
||||
//222,
|
||||
//221,
|
||||
221,
|
||||
//220,
|
||||
219,
|
||||
218,
|
||||
|
Loading…
Reference in New Issue
Block a user