Skip to content

Commit 258eeb2

Browse files
committed
refactor: vim.loop -> vim.uv
1 parent 754a7fa commit 258eeb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ local pipe_path = function()
380380
vim.fn.stdpath("run"),
381381
"kitty.nvim-" .. vim.env.KITTY_PID
382382
)
383-
if not vim.loop.fs_stat(addr) then
383+
if not vim.uv.fs_stat(addr) then
384384
vim.fn.serverstart(addr)
385385
end
386386
return addr

lua/flatten/rpc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function M.try_address(addr, startserver)
66
if not addr:find("/") then
77
addr = ("%s/%s"):format(vim.fn.stdpath("run"), addr)
88
end
9-
if vim.loop.fs_stat(addr) then
9+
if vim.uv.fs_stat(addr) then
1010
local ok, sock = M.connect(addr)
1111
if ok then
1212
return sock

0 commit comments

Comments
 (0)