aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/buffer_updates.c8
-rw-r--r--src/nvim/buffer_updates.h8
-rw-r--r--src/nvim/ex_cmds.c2
-rw-r--r--src/nvim/fold.c2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/nvim/buffer_updates.c b/src/nvim/buffer_updates.c
index 830c1bfe7b..8eac695efe 100644
--- a/src/nvim/buffer_updates.c
+++ b/src/nvim/buffer_updates.c
@@ -123,10 +123,10 @@ void buf_updates_unregister_all(buf_T *buf)
}
void buf_updates_send_changes(buf_T *buf,
- linenr_T firstline,
- int64_t num_added,
- int64_t num_removed,
- bool send_tick)
+ linenr_T firstline,
+ int64_t num_added,
+ int64_t num_removed,
+ bool send_tick)
{
// if one the channels doesn't work, put its ID here so we can remove it later
uint64_t badchannelid = 0;
diff --git a/src/nvim/buffer_updates.h b/src/nvim/buffer_updates.h
index 23804809f1..d052b8effb 100644
--- a/src/nvim/buffer_updates.h
+++ b/src/nvim/buffer_updates.h
@@ -7,10 +7,10 @@ bool buf_updates_register(buf_T *buf, uint64_t channel_id, bool send_buffer);
void buf_updates_unregister(buf_T *buf, uint64_t channel_id);
void buf_updates_unregister_all(buf_T *buf);
void buf_updates_send_changes(buf_T *buf,
- linenr_T firstline,
- int64_t num_added,
- int64_t num_removed,
- bool send_tick);
+ linenr_T firstline,
+ int64_t num_added,
+ int64_t num_removed,
+ bool send_tick);
void buf_updates_changedtick(buf_T *buf);
#endif // NVIM_BUFFER_UPDATES_H
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index e342ae44aa..0638c10dc0 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4023,7 +4023,7 @@ skip:
int64_t num_added = last_line - first_line;
int64_t num_removed = num_added - i;
buf_updates_send_changes(curbuf, first_line, num_added, num_removed,
- do_buf_event);
+ do_buf_event);
}
}
diff --git a/src/nvim/fold.c b/src/nvim/fold.c
index 4d947d9b07..32ba665f64 100644
--- a/src/nvim/fold.c
+++ b/src/nvim/fold.c
@@ -754,7 +754,7 @@ deleteFold (
// notification that includes every line that was part of the fold
int64_t num_changed = last_lnum - first_lnum;
buf_updates_send_changes(curbuf, first_lnum, num_changed,
- num_changed, true);
+ num_changed, true);
}
}
}