mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00: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:
@@ -2237,7 +2237,7 @@ void ex_diffgetput(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
|
||||
buf_empty = FALSE;
|
||||
buf_empty = bufempty();
|
||||
added = 0;
|
||||
|
||||
for (i = 0; i < count; ++i) {
|
||||
|
Reference in New Issue
Block a user