diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-05-10 23:13:58 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2018-05-23 22:07:27 +0200 |
commit | 0bee3925ab5186211f10c823d4f149d4d16eb7a5 (patch) | |
tree | 553c7d291be5ac0e73204f5db7ab205f98002785 /src/nvim/api/buffer.c | |
parent | ad151847f179e51d70cbde9440e765c2a451a7f6 (diff) | |
download | rneovim-0bee3925ab5186211f10c823d4f149d4d16eb7a5.tar.gz rneovim-0bee3925ab5186211f10c823d4f149d4d16eb7a5.tar.bz2 rneovim-0bee3925ab5186211f10c823d4f149d4d16eb7a5.zip |
Send changedtick as first event if buffer contents weren't requested
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 756367f801..12d1feb370 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -80,7 +80,9 @@ String buffer_get_line(Buffer buffer, Integer index, Error *err) /// /// @param buffer The buffer handle /// @param send_buffer Set to true if the initial notification should contain -/// the whole buffer +/// the whole buffer. If so, the first notification will be a +/// `nvim_buf_lines_event`. Otherwise, the first notification will be +/// a `nvim_buf_changedtick_event` /// @param[out] err Details of an error that may have occurred /// @return False when updates couldn't be enabled because the buffer isn't /// loaded; otherwise True. |