mirror of
https://github.com/neovim/neovim.git
synced 2024-12-22 04:05:09 -07:00
Lint
This commit is contained in:
parent
3866137eed
commit
491efc89d2
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user