Merge pull request #9538 from beeender/patch-1

Fix api doc nvim_buf_lines_event example
This commit is contained in:
Björn Linse
2019-01-22 22:09:16 +01:00
committed by GitHub

View File

@@ -164,7 +164,7 @@ nvim_buf_detach_event[{buf}] *nvim_buf_detach_event*
EXAMPLE ~
Calling |nvim_buf_attach()| with send_buffer=true on an empty buffer, emits: >
nvim_buf_lines_event[{buf}, {changedtick}, 0, 0, [""], v:false]
nvim_buf_lines_event[{buf}, {changedtick}, 0, -1, [""], v:false]
User adds two lines to the buffer, emits: >
nvim_buf_lines_event[{buf}, {changedtick}, 0, 0, ["line1", "line2"], v:false]