mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
feat: use vim.uv
everywhere instead of vim.loop
This commit is contained in:
parent
7f333f006f
commit
3a87c08cda
11 changed files with 23 additions and 23 deletions
|
@ -50,7 +50,7 @@ setmetatable(M, {
|
|||
})
|
||||
|
||||
function M.is_win()
|
||||
return vim.loop.os_uname().sysname:find("Windows") ~= nil
|
||||
return vim.uv.os_uname().sysname:find("Windows") ~= nil
|
||||
end
|
||||
|
||||
---@param plugin string
|
||||
|
@ -97,8 +97,8 @@ function M.lazy_notify()
|
|||
local orig = vim.notify
|
||||
vim.notify = temp
|
||||
|
||||
local timer = vim.loop.new_timer()
|
||||
local check = assert(vim.loop.new_check())
|
||||
local timer = vim.uv.new_timer()
|
||||
local check = assert(vim.uv.new_check())
|
||||
|
||||
local replay = function()
|
||||
timer:stop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue