diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-23 07:14:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 07:14:10 -0700 |
commit | 34a40d3a50f71a4b5e06c36ed9f9110983984dbf (patch) | |
tree | 69f647ce5f5dba8f16cb2a55a2511b89df4db87e /src/nvim/api/options.c | |
parent | 47e6b2233feffc6e9d94f6086fb904eb5688fa25 (diff) | |
parent | 17027d64726864c7bbdba5bee004eb581ac4b54a (diff) | |
download | rneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.tar.gz rneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.tar.bz2 rneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.zip |
Merge #30435 refactor: rename "Dictionary" => "Dict"
Diffstat (limited to 'src/nvim/api/options.c')
-rw-r--r-- | src/nvim/api/options.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/api/options.c b/src/nvim/api/options.c index 5adaff8449..1a0edd551e 100644 --- a/src/nvim/api/options.c +++ b/src/nvim/api/options.c @@ -256,13 +256,13 @@ void nvim_set_option_value(uint64_t channel_id, String name, Object value, Dict( /// Gets the option information for all options. /// -/// The dictionary has the full option names as keys and option metadata -/// dictionaries as detailed at |nvim_get_option_info2()|. +/// The dict has the full option names as keys and option metadata dicts as detailed at +/// |nvim_get_option_info2()|. /// /// @see |nvim_get_commands()| /// -/// @return dictionary of all options -Dictionary nvim_get_all_options_info(Arena *arena, Error *err) +/// @return dict of all options +Dict nvim_get_all_options_info(Arena *arena, Error *err) FUNC_API_SINCE(7) { return get_all_vimoptions(arena); @@ -270,7 +270,7 @@ Dictionary nvim_get_all_options_info(Arena *arena, Error *err) /// Gets the option information for one option from arbitrary buffer or window /// -/// Resulting dictionary has keys: +/// Resulting dict has keys: /// - name: Name of the option (like 'filetype') /// - shortname: Shortened name of the option (like 'ft') /// - type: type of option ("string", "number" or "boolean") @@ -301,7 +301,7 @@ Dictionary nvim_get_all_options_info(Arena *arena, Error *err) /// Implies {scope} is "local". /// @param[out] err Error details, if any /// @return Option Information -Dictionary nvim_get_option_info2(String name, Dict(option) *opts, Arena *arena, Error *err) +Dict nvim_get_option_info2(String name, Dict(option) *opts, Arena *arena, Error *err) FUNC_API_SINCE(11) { OptIndex opt_idx = 0; @@ -310,7 +310,7 @@ Dictionary nvim_get_option_info2(String name, Dict(option) *opts, Arena *arena, void *from = NULL; if (!validate_option_value_args(opts, name.data, &opt_idx, &scope, &req_scope, &from, NULL, err)) { - return (Dictionary)ARRAY_DICT_INIT; + return (Dict)ARRAY_DICT_INIT; } buf_T *buf = (req_scope == kOptReqBuf) ? (buf_T *)from : curbuf; |