aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-10 07:34:55 +0100
committerGitHub <noreply@github.com>2022-03-10 14:34:55 +0800
commita7b1c8893c602196541e94b8b24c4c70c32c25b0 (patch)
treec763c8446efbefe113a0c1837e8b6b9b762e260d /src/nvim/api/buffer.c
parent487f52c9d2580b9a10010071f9263d19bc069bd1 (diff)
downloadrneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.tar.gz
rneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.tar.bz2
rneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.zip
chore: fix typos (#17331)
Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: notomo <notomo.motono@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r--src/nvim/api/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 3dd647e76f..3bddbe8fe6 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -133,7 +133,7 @@ Integer nvim_buf_line_count(Buffer buffer, Error *err)
/// - buffer handle
/// - on_reload: Lua callback invoked on reload. The entire buffer
/// content should be considered changed. Args:
-/// - the string "detach"
+/// - the string "reload"
/// - buffer handle
/// - utf_sizes: include UTF-32 and UTF-16 size of the replaced
/// region, as args to `on_lines`.