fix: replace vim.loop with vim.uv #265
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/cp.nvim#265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
lua/cp/scraper.luauseslocal uv = vim.loopandlua/cp/setup.luausesvim.loop.hrtime().vim.loopwas deprecated in Neovim 0.10 in favor ofvim.uv. Both refer to the same libuv bindings, butvim.loopwill likely be removed in a future Neovim release and currently produces deprecation warnings in environments with strict diagnostics.Steps to reproduce
:checkhealthor enable LuaLS diagnostics for deprecated API usagevim.loopusagesHealth check
Affected files:
lua/cp/scraper.lua—local uv = vim.loopat line 65lua/cp/setup.lua—vim.loop.hrtime()at line 183