aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/deprecated.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-02-10 12:07:37 +0100
committerGitHub <noreply@github.com>2024-02-10 12:07:37 +0100
commit607606e3bb7a435ac5a0eba2eb4abde8eff774bb (patch)
treed8c984815503a709cd5f122cf08aaa00d5b1a73d /src/nvim/api/deprecated.c
parent4948fa42efb90333a3b5738fd943b75f35415a7b (diff)
parent2d0e29614b4417e9764b9f7d588a50fe7f752749 (diff)
downloadrneovim-607606e3bb7a435ac5a0eba2eb4abde8eff774bb.tar.gz
rneovim-607606e3bb7a435ac5a0eba2eb4abde8eff774bb.tar.bz2
rneovim-607606e3bb7a435ac5a0eba2eb4abde8eff774bb.zip
Merge pull request #27398 from bfredl/arena2
refactor(api): use arena for more stuff
Diffstat (limited to 'src/nvim/api/deprecated.c')
-rw-r--r--src/nvim/api/deprecated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/deprecated.c b/src/nvim/api/deprecated.c
index b09645a819..27f0589e53 100644
--- a/src/nvim/api/deprecated.c
+++ b/src/nvim/api/deprecated.c
@@ -514,11 +514,11 @@ static int64_t convert_index(int64_t index)
/// @param name Option name
/// @param[out] err Error details, if any
/// @return Option Information
-Dictionary nvim_get_option_info(String name, Error *err)
+Dictionary nvim_get_option_info(String name, Arena *arena, Error *err)
FUNC_API_SINCE(7)
FUNC_API_DEPRECATED_SINCE(11)
{
- return get_vimoption(name, OPT_GLOBAL, curbuf, curwin, err);
+ return get_vimoption(name, OPT_GLOBAL, curbuf, curwin, arena, err);
}
/// Sets the global value of an option.