fix: replace deprecated vim.loop with vim.uv
Problem: vim.loop is deprecated since Neovim 0.10 in favour of vim.uv. Five call sites across scraper.lua, setup.lua, utils.lua, and health.lua still referenced the old alias. Solution: replace every vim.loop reference with vim.uv directly.
This commit is contained in:
parent
4ccab9ee1f
commit
4e8480821d
4 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ local function check()
|
|||
vim.health.error('cp.nvim requires Neovim 0.10.0+')
|
||||
end
|
||||
|
||||
local uname = vim.loop.os_uname()
|
||||
local uname = vim.uv.os_uname()
|
||||
if uname.sysname == 'Windows_NT' then
|
||||
vim.health.error('Windows is not supported')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue