mirror of
https://github.com/neovim/neovim.git
synced 2025-11-23 10:36:29 +00:00
docs: do not use deprecated functions #25334
This commit is contained in:
committed by
GitHub
parent
b3be7b7413
commit
db51548036
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user