mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
1cdd4ff7f6
commit
fa1d9301f7
@ -598,6 +598,7 @@ static void diff_redraw(int dofold)
|
||||
} else if ((n > 0) && (n > wp->w_topfill)) {
|
||||
wp->w_topfill = n;
|
||||
}
|
||||
check_topfill(wp, FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ static int included_patches[] = {
|
||||
//311,
|
||||
//310,
|
||||
//309,
|
||||
//308,
|
||||
308,
|
||||
//307,
|
||||
306,
|
||||
//305,
|
||||
|
Loading…
Reference in New Issue
Block a user