diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-02-09 11:35:02 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2024-02-09 19:30:35 +0100 |
commit | 2d0e29614b4417e9764b9f7d588a50fe7f752749 (patch) | |
tree | bad54fe3b99c7f3f240bcd81208841af200d7433 /src/nvim/api/deprecated.c | |
parent | 2d8d35f838e0f9737a8b0231e94d35315e54ca8f (diff) | |
download | rneovim-2d0e29614b4417e9764b9f7d588a50fe7f752749.tar.gz rneovim-2d0e29614b4417e9764b9f7d588a50fe7f752749.tar.bz2 rneovim-2d0e29614b4417e9764b9f7d588a50fe7f752749.zip |
refactor(api): use arena for nvim_get_option_info()
Diffstat (limited to 'src/nvim/api/deprecated.c')
-rw-r--r-- | src/nvim/api/deprecated.c | 4 |
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. |