mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
@@ -517,11 +517,9 @@ cleanup:
|
||||
return autocmd_id;
|
||||
}
|
||||
|
||||
/// Delete an autocommand by id.
|
||||
/// Deletes an autocommand by id.
|
||||
///
|
||||
/// NOTE: Only autocommands created via the API have an id.
|
||||
/// @param id Integer The id returned by nvim_create_autocmd
|
||||
/// @see |nvim_create_autocmd()|
|
||||
/// @param id Integer Autocommand id returned by |nvim_create_autocmd()|
|
||||
void nvim_del_autocmd(Integer id, Error *err)
|
||||
FUNC_API_SINCE(9)
|
||||
{
|
||||
@@ -533,8 +531,8 @@ void nvim_del_autocmd(Integer id, Error *err)
|
||||
}
|
||||
}
|
||||
|
||||
/// Clear all autocommands that match the corresponding {opts}. To delete
|
||||
/// a particular autocmd, see |nvim_del_autocmd()|.
|
||||
/// Clears all autocommands selected by {opts}. To delete autocmds see |nvim_del_autocmd()|.
|
||||
///
|
||||
/// @param opts Parameters
|
||||
/// - event: (string|table)
|
||||
/// Examples:
|
||||
|
@@ -1230,6 +1230,8 @@ err:
|
||||
///
|
||||
/// Currently only |user-commands| are supported, not builtin Ex commands.
|
||||
///
|
||||
/// @see |nvim_get_all_options_info()|
|
||||
///
|
||||
/// @param opts Optional parameters. Currently only supports
|
||||
/// {"builtin":false}
|
||||
/// @param[out] err Error details, if any.
|
||||
|
@@ -315,6 +315,8 @@ void nvim_set_option_value(uint64_t channel_id, String name, Object value, Dict(
|
||||
/// The dictionary has the full option names as keys and option metadata
|
||||
/// dictionaries as detailed at |nvim_get_option_info2()|.
|
||||
///
|
||||
/// @see |nvim_get_commands()|
|
||||
///
|
||||
/// @return dictionary of all options
|
||||
Dictionary nvim_get_all_options_info(Error *err)
|
||||
FUNC_API_SINCE(7)
|
||||
|
Reference in New Issue
Block a user