diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-04-24 21:45:36 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-05-23 22:07:27 +0200 |
commit | 491efc89d2e8da319077f7c6d93f07a01b543ab0 (patch) | |
tree | 33ff71b5a36b08e1045430c2c34f7bcbc1118120 | |
parent | 3866137eed6b6e649ac95e53ad246e977f9ac2ae (diff) | |
download | rneovim-491efc89d2e8da319077f7c6d93f07a01b543ab0.tar.gz rneovim-491efc89d2e8da319077f7c6d93f07a01b543ab0.tar.bz2 rneovim-491efc89d2e8da319077f7c6d93f07a01b543ab0.zip |
Lint
-rw-r--r-- | src/nvim/buffer_updates.c | 8 | ||||
-rw-r--r-- | src/nvim/buffer_updates.h | 8 | ||||
-rw-r--r-- | src/nvim/ex_cmds.c | 2 | ||||
-rw-r--r-- | src/nvim/fold.c | 2 |
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); } } } |