diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-08-28 15:36:18 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-06-24 11:09:10 +0200 |
commit | 8b375cf471359ad7632af7fa6a2298c9b7596691 (patch) | |
tree | 83f6cd0f3aeaa6a1a659d403134cf42ac9b71ec6 /src/nvim/api/buffer.c | |
parent | 7873660e1ebbb6350609f4200296fc2ac4bf3035 (diff) | |
download | rneovim-8b375cf471359ad7632af7fa6a2298c9b7596691.tar.gz rneovim-8b375cf471359ad7632af7fa6a2298c9b7596691.tar.bz2 rneovim-8b375cf471359ad7632af7fa6a2298c9b7596691.zip |
bufhl: fix move
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 94554bc4c1..82de8fd4a2 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -399,7 +399,7 @@ void nvim_buf_set_lines(uint64_t channel_id, // Only adjust marks if we managed to switch to a window that holds // the buffer, otherwise line numbers will be invalid. if (save_curbuf.br_buf == NULL) { - mark_adjust((linenr_T)start, (linenr_T)(end - 1), MAXLNUM, extra); + mark_adjust((linenr_T)start, (linenr_T)(end - 1), MAXLNUM, extra, false); } changed_lines((linenr_T)start, 0, (linenr_T)end, (long)extra); |