aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorPeter Hodge <peter.hodge84@gmail.com>2018-01-26 20:36:11 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commitedcc73e766438facc88db19000f054aa52ab8b13 (patch)
tree17a62cbbb7785e6f88aaa99728cfa0d8cd5e076c /src/nvim/diff.c
parent418abfc9d06923e96f1317419fe83ed4e6d67c1d (diff)
downloadrneovim-edcc73e766438facc88db19000f054aa52ab8b13.tar.gz
rneovim-edcc73e766438facc88db19000f054aa52ab8b13.tar.bz2
rneovim-edcc73e766438facc88db19000f054aa52ab8b13.zip
API: Implement buffer updates
Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r--src/nvim/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index f9e40ed06f..61e0b76558 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -2344,7 +2344,7 @@ void ex_diffgetput(exarg_T *eap)
}
}
}
- changed_lines(lnum, 0, lnum + count, (long)added);
+ changed_lines(lnum, 0, lnum + count, (long)added, true);
if (dfree != NULL) {
// Diff is deleted, update folds in other windows.