diff options
Diffstat (limited to 'src/nvim/api/command.c')
-rw-r--r-- | src/nvim/api/command.c | 6 |
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. /// |