Skip to content

Commit 318c20e

Browse files
committed
fix uv
1 parent e01d3f1 commit 318c20e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/neo-tree/clipboard/sync/universal.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ local uv = vim.uv or vim.loop
1010
---@field filename string
1111

1212
local clipboard_states_dir = vim.fn.stdpath("state") .. "/neo-tree.nvim/clipboards"
13-
local pid = vim.uv.os_getpid()
13+
local pid = uv.os_getpid()
1414

1515
---@class (exact) neotree.clipboard.FileBackend.FileFormat
1616
---@field pid integer
@@ -32,7 +32,7 @@ local FileBackend = BaseBackend:new()
3232
---@return boolean created
3333
---@return string? err
3434
local function file_touch(filename)
35-
if vim.uv.fs_stat(filename) then
35+
if uv.fs_stat(filename) then
3636
return true
3737
end
3838
local dir = vim.fn.fnamemodify(filename, ":h")

0 commit comments

Comments
 (0)