docs: do not use deprecated functions #25334

This commit is contained in:
Maria José Solano
2023-09-24 21:39:59 -07:00
committed by GitHub
parent b3be7b7413
commit db51548036
5 changed files with 17 additions and 3 deletions

View File

@ -127,7 +127,7 @@ end
--- @param name string
local function get_options_info(name)
local info = api.nvim_get_option_info(name)
local info = api.nvim_get_option_info2(name, {})
info.metatype = get_option_metatype(name, info)
return info
end