mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
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:
@@ -2215,7 +2215,7 @@ nvim_buf_is_valid({buffer}) *nvim_buf_is_valid()*
|
|||||||
true if the buffer is valid, false otherwise.
|
true if the buffer is valid, false otherwise.
|
||||||
|
|
||||||
nvim_buf_line_count({buffer}) *nvim_buf_line_count()*
|
nvim_buf_line_count({buffer}) *nvim_buf_line_count()*
|
||||||
Gets the buffer line count
|
Returns the number of lines in the given buffer.
|
||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
{buffer} Buffer handle, or 0 for current buffer
|
{buffer} Buffer handle, or 0 for current buffer
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
/// whether a buffer is loaded.
|
/// 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 buffer Buffer handle, or 0 for current buffer
|
||||||
/// @param[out] err Error details, if any
|
/// @param[out] err Error details, if any
|
||||||
|
Reference in New Issue
Block a user