mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
feat: refactor all vim.loop -> vim.uv and add a shim when needed
This commit is contained in:
parent
83493db50a
commit
9e157df077
19 changed files with 53 additions and 51 deletions
|
@ -54,7 +54,7 @@ function M.cputime()
|
|||
end
|
||||
|
||||
local function fallback()
|
||||
return (vim.loop.hrtime() - require("lazy")._start) / 1e6
|
||||
return (vim.uv.hrtime() - require("lazy")._start) / 1e6
|
||||
end
|
||||
|
||||
local ok, ret = pcall(real)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue