mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
docs: make docstring consistent with parameters #18178
Closes: https://github.com/neovim/neovim/issues/12691
This commit is contained in:
parent
cfaf7440fc
commit
92f7286377
@ -538,9 +538,9 @@ nvim__get_runtime({pat}, {all}, {*opts}) *nvim__get_runtime()*
|
||||
{fast}
|
||||
|
||||
Parameters: ~
|
||||
{pat} pattern of files to search for
|
||||
{all} whether to return all matches or only the first
|
||||
{options} is_lua: only search lua subdirs
|
||||
{pat} pattern of files to search for
|
||||
{all} whether to return all matches or only the first
|
||||
{opts} is_lua: only search lua subdirs
|
||||
|
||||
Return: ~
|
||||
list of absolute paths to the found files
|
||||
@ -2325,12 +2325,12 @@ nvim_buf_set_text({buffer}, {start_row}, {start_col}, {end_row}, {end_col},
|
||||
only.
|
||||
|
||||
Parameters: ~
|
||||
{buffer} Buffer handle, or 0 for current buffer
|
||||
{start_row} First line index
|
||||
{start_column} First column
|
||||
{end_row} Last line index
|
||||
{end_column} Last column
|
||||
{replacement} Array of lines to use as replacement
|
||||
{buffer} Buffer handle, or 0 for current buffer
|
||||
{start_row} First line index
|
||||
{start_col} First column
|
||||
{end_row} Last line index
|
||||
{end_col} Last column
|
||||
{replacement} Array of lines to use as replacement
|
||||
|
||||
nvim_buf_set_var({buffer}, {name}, {value}) *nvim_buf_set_var()*
|
||||
Sets a buffer-scoped (b:) variable
|
||||
|
@ -529,9 +529,9 @@ end:
|
||||
/// @param channel_id
|
||||
/// @param buffer Buffer handle, or 0 for current buffer
|
||||
/// @param start_row First line index
|
||||
/// @param start_column First column
|
||||
/// @param start_col First column
|
||||
/// @param end_row Last line index
|
||||
/// @param end_column Last column
|
||||
/// @param end_col Last column
|
||||
/// @param replacement Array of lines to use as replacement
|
||||
/// @param[out] err Error details, if any
|
||||
void nvim_buf_set_text(uint64_t channel_id, Buffer buffer, Integer start_row, Integer start_col,
|
||||
|
@ -526,8 +526,7 @@ String nvim__get_lib_dir(void)
|
||||
///
|
||||
/// @param pat pattern of files to search for
|
||||
/// @param all whether to return all matches or only the first
|
||||
/// @param options
|
||||
/// is_lua: only search lua subdirs
|
||||
/// @param opts is_lua: only search lua subdirs
|
||||
/// @return list of absolute paths to the found files
|
||||
ArrayOf(String) nvim__get_runtime(Array pat, Boolean all, Dict(runtime) *opts, Error *err)
|
||||
FUNC_API_SINCE(8)
|
||||
|
Loading…
Reference in New Issue
Block a user