mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
refactor: replace deprecated vim.loop with vim.uv
(cherry picked from commit 1a2e6ebc59
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
ab2d243fd0
commit
c35e040b7e
@@ -1,5 +1,5 @@
|
||||
local health = vim.health
|
||||
local iswin = vim.loop.os_uname().sysname == 'Windows_NT'
|
||||
local iswin = vim.uv.os_uname().sysname == 'Windows_NT'
|
||||
|
||||
local M = {}
|
||||
|
||||
@@ -7,7 +7,7 @@ local function is(path, ty)
|
||||
if not path then
|
||||
return false
|
||||
end
|
||||
local stat = vim.loop.fs_stat(path)
|
||||
local stat = vim.uv.fs_stat(path)
|
||||
if not stat then
|
||||
return false
|
||||
end
|
||||
|
Reference in New Issue
Block a user