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
|
|
@ -57,7 +57,7 @@ local function run_scraper(platform, subcommand, args, opts)
|
|||
env.CONDA_PREFIX = ''
|
||||
|
||||
if opts and opts.ndjson then
|
||||
local uv = vim.loop
|
||||
local uv = vim.uv
|
||||
local stdout = uv.new_pipe(false)
|
||||
local stderr = uv.new_pipe(false)
|
||||
local buf = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue