aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/command.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-16 14:13:02 +0100
committerJustin M. Keyes <justinkz@gmail.com>2025-03-17 12:06:38 +0100
commit041a939eeb21dd8a62c479f12cc9334d3d30a832 (patch)
treef7334c47cd546feb42b60bc7dc5ccf4e7401e216 /src/nvim/api/command.c
parentcab3950762f770f295d6a623d20aab9388bfc7ad (diff)
downloadrneovim-041a939eeb21dd8a62c479f12cc9334d3d30a832.tar.gz
rneovim-041a939eeb21dd8a62c479f12cc9334d3d30a832.tar.bz2
rneovim-041a939eeb21dd8a62c479f12cc9334d3d30a832.zip
docs(api): rename "handle" => "id"
Diffstat (limited to 'src/nvim/api/command.c')
-rw-r--r--src/nvim/api/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/command.c b/src/nvim/api/command.c
index 23e08bd3fe..de83ff97f7 100644
--- a/src/nvim/api/command.c
+++ b/src/nvim/api/command.c
@@ -897,7 +897,7 @@ void nvim_del_user_command(String name, Error *err)
/// Creates a buffer-local command |user-commands|.
///
-/// @param buffer Buffer handle, or 0 for current buffer.
+/// @param buffer Buffer id, or 0 for current buffer.
/// @param[out] err Error details, if any.
/// @see nvim_create_user_command
void nvim_buf_create_user_command(uint64_t channel_id, Buffer buffer, String name, Object command,
@@ -920,7 +920,7 @@ void nvim_buf_create_user_command(uint64_t channel_id, Buffer buffer, String nam
/// Only commands created with |:command-buffer| or
/// |nvim_buf_create_user_command()| can be deleted with this function.
///
-/// @param buffer Buffer handle, or 0 for current buffer.
+/// @param buffer Buffer id, or 0 for current buffer.
/// @param name Name of the command to delete.
/// @param[out] err Error details, if any.
void nvim_buf_del_user_command(Buffer buffer, String name, Error *err)
@@ -1178,7 +1178,7 @@ Dict nvim_get_commands(Dict(get_commands) *opts, Arena *arena, Error *err)
/// Gets a map of buffer-local |user-commands|.
///
-/// @param buffer Buffer handle, or 0 for current buffer
+/// @param buffer Buffer id, or 0 for current buffer
/// @param opts Optional parameters. Currently not used.
/// @param[out] err Error details, if any.
///