aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-22 22:09:16 +0100
committerGitHub <noreply@github.com>2019-01-22 22:09:16 +0100
commit9e54778e7cd61839f17a8916d9dc5ea925a56537 (patch)
tree082f051e0b7124a53b56e27c58a049aa4fc8545f
parentbfb8170d32919dffee9d78a9afc298dc98fca5ba (diff)
parent09f6b1f2cbfd610e52d26adcca466d1a9a08f4d2 (diff)
downloadrneovim-9e54778e7cd61839f17a8916d9dc5ea925a56537.tar.gz
rneovim-9e54778e7cd61839f17a8916d9dc5ea925a56537.tar.bz2
rneovim-9e54778e7cd61839f17a8916d9dc5ea925a56537.zip
Merge pull request #9538 from beeender/patch-1
Fix api doc nvim_buf_lines_event example
-rw-r--r--runtime/doc/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 2520a15890..cdf6a8b92b 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -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]