mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07: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:
parent
52481eecf0
commit
0a15cd2500
@ -446,6 +446,12 @@ function M.enable(enable)
|
||||
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
|
||||
--- @generic F: function
|
||||
--- @param f F
|
||||
|
Loading…
Reference in New Issue
Block a user