mirror of
https://github.com/neovim/neovim.git
synced 2025-12-18 12:25:34 +00:00
misc: keep deprecated vim.loader.disable stub (#31450)
Transitional stub to minimize breaking change pain, to be removed after 0.11 release.
This commit is contained in:
@@ -446,6 +446,12 @@ function M.enable(enable)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- @deprecated
|
||||||
|
function M.disable()
|
||||||
|
vim.deprecate('vim.loader.disable', 'vim.loader.enable(false)', '0.12')
|
||||||
|
vim.loader.enable(false)
|
||||||
|
end
|
||||||
|
|
||||||
--- Tracks the time spent in a function
|
--- Tracks the time spent in a function
|
||||||
--- @generic F: function
|
--- @generic F: function
|
||||||
--- @param f F
|
--- @param f F
|
||||||
|
|||||||
Reference in New Issue
Block a user