diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-04-24 20:38:00 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-05-23 22:07:27 +0200 |
commit | e7451f8a91e0a9452fc3c3627ac60dc80288252c (patch) | |
tree | df606b41f1cf56b8eeb05671ae8e9eb3f136601c /src/nvim/fold.c | |
parent | de5d1e863c71c8da87422bdb94dc91749d4a8b61 (diff) | |
download | rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.tar.gz rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.tar.bz2 rneovim-e7451f8a91e0a9452fc3c3627ac60dc80288252c.zip |
Some renamings and doc changes
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r-- | src/nvim/fold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c index 9869e0fd30..4d947d9b07 100644 --- a/src/nvim/fold.c +++ b/src/nvim/fold.c @@ -753,7 +753,7 @@ deleteFold ( // the modification of the *first* line of the fold, but we send through a // notification that includes every line that was part of the fold int64_t num_changed = last_lnum - first_lnum; - buffer_updates_send_changes(curbuf, first_lnum, num_changed, + buf_updates_send_changes(curbuf, first_lnum, num_changed, num_changed, true); } } @@ -1610,7 +1610,7 @@ static void foldCreateMarkers(linenr_T start, linenr_T end) // u_save() is unable to save the buffer line, but we send the // nvim_buf_update anyway since it won't do any harm. int64_t num_changed = 1 + end - start; - buffer_updates_send_changes(curbuf, start, num_changed, num_changed, true); + buf_updates_send_changes(curbuf, start, num_changed, num_changed, true); } } |