aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-05-18 10:09:11 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit65e7f6f0b97b02e323488e06bf0f5df93bbcbf93 (patch)
treec4dd56622987e2605f14667ba6391124636d7266 /src/nvim/fold.c
parent0bee3925ab5186211f10c823d4f149d4d16eb7a5 (diff)
downloadrneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.tar.gz
rneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.tar.bz2
rneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.zip
Rename some more, fixe borked renaming
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r--src/nvim/fold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c
index 32ba665f64..b8ace511e8 100644
--- a/src/nvim/fold.c
+++ b/src/nvim/fold.c
@@ -746,7 +746,7 @@ deleteFold (
if (last_lnum > 0) {
changed_lines(first_lnum, (colnr_T)0, last_lnum, 0L, false);
- // send one nvim_buf_update at the end
+ // send one nvim_buf_lines_event at the end
if (kv_size(curbuf->update_channels)) {
// last_lnum is the line *after* the last line of the outermost fold
// that was modified. Note also that deleting a fold might only require
@@ -1608,7 +1608,7 @@ static void foldCreateMarkers(linenr_T start, linenr_T end)
if (kv_size(curbuf->update_channels)) {
// Note: foldAddMarker() may not actually change start and/or end if
// u_save() is unable to save the buffer line, but we send the
- // nvim_buf_update anyway since it won't do any harm.
+ // nvim_buf_lines_event anyway since it won't do any harm.
int64_t num_changed = 1 + end - start;
buf_updates_send_changes(curbuf, start, num_changed, num_changed, true);
}