aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/api.txt2
-rw-r--r--src/nvim/api/buffer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 4af13a3bbf..dbf87bfd9f 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2215,7 +2215,7 @@ nvim_buf_is_valid({buffer}) *nvim_buf_is_valid()*
true if the buffer is valid, false otherwise.
nvim_buf_line_count({buffer}) *nvim_buf_line_count()*
- Gets the buffer line count
+ Returns the number of lines in the given buffer.
Parameters: ~
{buffer} Buffer handle, or 0 for current buffer
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 9f0cadd5ce..18f7177489 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -52,7 +52,7 @@
/// whether a buffer is loaded.
-/// Gets the buffer line count
+/// Returns the number of lines in the given buffer.
///
/// @param buffer Buffer handle, or 0 for current buffer
/// @param[out] err Error details, if any