mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
api: restore old return type of deprecated ui_try_resize method
This commit is contained in:
parent
ddb9f02712
commit
6f55d1377f
@ -133,6 +133,11 @@ for i,f in ipairs(shallowcopy(functions)) do
|
||||
end
|
||||
local newf = shallowcopy(f)
|
||||
newf.name = newname
|
||||
if newname == "ui_try_resize" then
|
||||
-- The return type was incorrectly set to Object in 0.1.5.
|
||||
-- Keep it that way for clients that rely on this.
|
||||
newf.return_type = "Object"
|
||||
end
|
||||
newf.impl_name = f.name
|
||||
newf.noeval = true
|
||||
newf.deprecated_since = 1
|
||||
|
Loading…
Reference in New Issue
Block a user