mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.477
Problem: When using ":%diffput" and the other file is empty an extra empty line remains. Solution: Set the buf_empty flag. https://code.google.com/p/vim/source/detail?r=v7-4-477
This commit is contained in:
parent
0a20cd7f50
commit
5b98a4338f
@ -2237,7 +2237,7 @@ void ex_diffgetput(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buf_empty = FALSE;
|
buf_empty = bufempty();
|
||||||
added = 0;
|
added = 0;
|
||||||
|
|
||||||
for (i = 0; i < count; ++i) {
|
for (i = 0; i < count; ++i) {
|
||||||
|
@ -261,7 +261,7 @@ static int included_patches[] = {
|
|||||||
//480 NA
|
//480 NA
|
||||||
//479 NA
|
//479 NA
|
||||||
478,
|
478,
|
||||||
//477,
|
477,
|
||||||
//476 NA
|
//476 NA
|
||||||
//475 NA
|
//475 NA
|
||||||
//474,
|
//474,
|
||||||
|
Loading…
Reference in New Issue
Block a user