mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
vim-patch:7.4.308 #832
Problem: When using ":diffsplit" on an empty file the cursor is displayed on the command line. Solution: Limit the value of w_topfill. https://code.google.com/p/vim/source/detail?r=e3d2b8d83bb30c428a051f50791e454fcbc080af
This commit is contained in:

committed by
Justin M. Keyes

parent
1cdd4ff7f6
commit
fa1d9301f7
@@ -598,6 +598,7 @@ static void diff_redraw(int dofold)
|
|||||||
} else if ((n > 0) && (n > wp->w_topfill)) {
|
} else if ((n > 0) && (n > wp->w_topfill)) {
|
||||||
wp->w_topfill = n;
|
wp->w_topfill = n;
|
||||||
}
|
}
|
||||||
|
check_topfill(wp, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -210,7 +210,7 @@ static int included_patches[] = {
|
|||||||
//311,
|
//311,
|
||||||
//310,
|
//310,
|
||||||
//309,
|
//309,
|
||||||
//308,
|
308,
|
||||||
//307,
|
//307,
|
||||||
306,
|
306,
|
||||||
//305,
|
//305,
|
||||||
|
Reference in New Issue
Block a user