docs: reword description for nvim_buf_line_count() (#17766)

This adds a few more keywords to make the function easier to find.
This commit is contained in:
Xiretza
2022-03-18 19:58:00 +01:00
committed by GitHub
parent e0fe91f6a3
commit f2e5f509d9
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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