mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
feat: refactor all vim.loop -> vim.uv and add a shim when needed
This commit is contained in:
parent
83493db50a
commit
9e157df077
19 changed files with 53 additions and 51 deletions
|
@ -12,7 +12,7 @@ describe("util", function()
|
|||
end
|
||||
end
|
||||
Helpers.fs_rm("")
|
||||
assert(not vim.loop.fs_stat(Helpers.path("")), "fs root should be deleted")
|
||||
assert(not vim.uv.fs_stat(Helpers.path("")), "fs root should be deleted")
|
||||
end)
|
||||
|
||||
it("lsmod lists all mods in dir", function()
|
||||
|
@ -85,7 +85,7 @@ describe("util", function()
|
|||
assert.same(Helpers.path("old/lua/foobar"), root)
|
||||
|
||||
Helpers.fs_rm("old")
|
||||
assert(not vim.loop.fs_stat(Helpers.path("old/lua/foobar")), "old/lua/foobar should not exist")
|
||||
assert(not vim.uv.fs_stat(Helpers.path("old/lua/foobar")), "old/lua/foobar should not exist")
|
||||
|
||||
-- vim.opt.rtp = rtp
|
||||
vim.opt.rtp:append(Helpers.path("new"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue